summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-11-30 02:52:17 +0000
committerMike Frysinger <vapier@gentoo.org>2002-11-30 02:52:17 +0000
commit6b0b2791535401149444f213bfadca695cfa10b1 (patch)
tree810611ce9c36e48d9bcc360b025c272536b4d728 /app-arch/unlzx
parentChanged mkdir ${D} to dodir ${D} (diff)
downloadgentoo-2-6b0b2791535401149444f213bfadca695cfa10b1.tar.gz
gentoo-2-6b0b2791535401149444f213bfadca695cfa10b1.tar.bz2
gentoo-2-6b0b2791535401149444f213bfadca695cfa10b1.zip
Changed src_install () to src_install()
Diffstat (limited to 'app-arch/unlzx')
-rw-r--r--app-arch/unlzx/unlzx-1.1.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/app-arch/unlzx/unlzx-1.1.ebuild b/app-arch/unlzx/unlzx-1.1.ebuild
index b5b430618fde..f6ef4b967d58 100644
--- a/app-arch/unlzx/unlzx-1.1.ebuild
+++ b/app-arch/unlzx/unlzx-1.1.ebuild
@@ -1,8 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unlzx/unlzx-1.1.ebuild,v 1.12 2002/10/04 03:52:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unlzx/unlzx-1.1.ebuild,v 1.13 2002/11/30 02:52:17 vapier Exp $
-S=${WORKDIR}/${P}
DESCRIPTION="Unarchiver for Amiga LZX archives"
SRC_URI="ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz.readme"
HOMEPAGE="ftp://us.aminet.net/pub/aminet/misc/unix/${PN}.c.gz.readme"
@@ -11,8 +10,6 @@ SLOT="0"
LICENSE="freedist"
KEYWORDS="x86 ppc sparc sparc64"
-DEPEND="virtual/glibc"
-
src_unpack() {
mkdir ${S}
gzip -dc ${DISTDIR}/${PN}.c.gz > ${S}/unlzx.c
@@ -20,11 +17,10 @@ src_unpack() {
}
src_compile() {
- gcc ${CFLAGS} -o unlzx unlzx.c
+ gcc ${CFLAGS} -o unlzx unlzx.c || die
}
-src_install () {
+src_install() {
dobin unlzx
-
dodoc unlzx.c.gz.readme
}