diff options
author | Daniel Ahlberg <aliz@gentoo.org> | 2002-08-17 13:31:51 +0000 |
---|---|---|
committer | Daniel Ahlberg <aliz@gentoo.org> | 2002-08-17 13:31:51 +0000 |
commit | 2727c932f23d71004e1f83d22ec92fd781f18fe9 (patch) | |
tree | 8226ce564f41961b64d28d0caca64c8ef411bbcd /app-arch/arc | |
parent | Initial import (diff) | |
download | gentoo-2-2727c932f23d71004e1f83d22ec92fd781f18fe9.tar.gz gentoo-2-2727c932f23d71004e1f83d22ec92fd781f18fe9.tar.bz2 gentoo-2-2727c932f23d71004e1f83d22ec92fd781f18fe9.zip |
Initial import.
Diffstat (limited to 'app-arch/arc')
-rw-r--r-- | app-arch/arc/arc-521e.ebuild | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/app-arch/arc/arc-521e.ebuild b/app-arch/arc/arc-521e.ebuild index 7364a7355b6c..cffefe37d983 100644 --- a/app-arch/arc/arc-521e.ebuild +++ b/app-arch/arc/arc-521e.ebuild @@ -1,37 +1,21 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# Author Enrico Morelli - 20/06/2002 +# ChangeLog for <CATEGORY>/<PACKAGE_NAME> +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-arch/arc/arc-521e.ebuild,v 1.2 2002/08/17 13:31:51 aliz Exp $ DESCRIPTION="Create & extract files from DOS .ARC files." DEPEND="virtual/glibc" MY_P="${PN}${PV}.pl8" -#SRC_URI="ftp://ftp.kiarchive.ru/pub/unix/arcers/${M_P}.tar.Z" -SRC_URI="${MY_P}.tar.Z" -RESTRICT="fetch" +SRC_URI="ftp://ftp.kiarchive.ru/pub/unix/arcers/${MY_P}.tar.Z" +S=${WORKDIR} +HOMEPAGE="" KEYWORDS="x86" SLOT="0" LICENSE="ARC" -dyn_fetch() { - for y in ${A} - do - digest_check ${y} - if [ $? -ne 0 ]; then - einfo "Please download ${MY_P}.tar.Z from ftp.kiarchive.ru/pub/unix/arcers" - einfo "and place it in ${DISTDIR}" - exit 1 - fi - done -} - src_unpack () { - # You must download arc-521e.pl8.tar.Z - # from ftp.kiarchive.ru/pub/unix/arcers and put it in ${DISTDIR} - unpack ${A} - cd ${WORKDIR} patch -p1 < ${FILESDIR}/${P}-timeh.patch cat marc.c | sed -e 's/char \*arctemp2, \*mktemp();/char *arctemp2;/' \ -e 's/mktemp/mkstemp/g' > marc.c.new @@ -42,19 +26,13 @@ src_unpack () { cp Makefile Makefile.orig sed "s:\$(OPT):${CFLAGS}:" Makefile.orig >Makefile - } src_compile () { - - cd ${WORKDIR} - emake || die } src_install () { - - cd ${WORKDIR} into /usr dobin arc marc doman arc.1 |