summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-05-27 06:23:23 +0000
committerMike Frysinger <vapier@gentoo.org>2004-05-27 06:23:23 +0000
commitccea2045c006c7d51f6481109571ec18c651591a (patch)
tree251c1bcc608700f1883f61717995953720af1632 /app-arch/unzip/unzip-5.50-r2.ebuild
parentremove references to arm (diff)
downloadgentoo-2-ccea2045c006c7d51f6481109571ec18c651591a.tar.gz
gentoo-2-ccea2045c006c7d51f6481109571ec18c651591a.tar.bz2
gentoo-2-ccea2045c006c7d51f6481109571ec18c651591a.zip
arm KEYWORDS
Diffstat (limited to 'app-arch/unzip/unzip-5.50-r2.ebuild')
-rw-r--r--app-arch/unzip/unzip-5.50-r2.ebuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/app-arch/unzip/unzip-5.50-r2.ebuild b/app-arch/unzip/unzip-5.50-r2.ebuild
index 902604e96508..bc206d92a4bb 100644
--- a/app-arch/unzip/unzip-5.50-r2.ebuild
+++ b/app-arch/unzip/unzip-5.50-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.50-r2.ebuild,v 1.10 2004/05/12 00:53:47 randy Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/unzip/unzip-5.50-r2.ebuild,v 1.11 2004/05/27 06:21:20 vapier Exp $
inherit eutils
@@ -10,22 +10,24 @@ SRC_URI="ftp://ftp.info-zip.org/pub/infozip/src/${PN}${PV/.}.tar.gz"
LICENSE="Info-ZIP"
SLOT="0"
-KEYWORDS="x86 ppc alpha hppa mips amd64 ia64 sparc ppc64 s390"
+KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 ppc64 s390"
+IUSE=""
RDEPEND="virtual/glibc"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
- unpack ${A} ; cd ${S}
-
+ unpack ${A}
+ cd ${S}
epatch ${FILESDIR}/${P}-dotdot.patch
sed -i \
-e "s:-O3:${CFLAGS}:" \
-e "s:CC=gcc LD=gcc:CC=${CC:-gcc} LD=${CC:-gcc}:" \
- -e "s:-O :${CFLAGS} :" unix/Makefile \
- || die "sed unix/Makefile failed"
+ -e "s:-O :${CFLAGS} :" \
+ unix/Makefile \
+ || die "sed unix/Makefile failed"
}
@@ -33,13 +35,12 @@ src_compile() {
use x86 \
&& TARGET=linux \
|| TARGET=linux_noasm
-
emake -f unix/Makefile ${TARGET} || die "emake failed"
}
src_install() {
dobin unzip funzip unzipsfx unix/zipgrep || die "dobin failed"
- dosym /usr/bin/unzip /usr/bin/zipinfo
+ dosym unzip /usr/bin/zipinfo
doman man/*.1
- dodoc BUGS COPYING.OLD History* LICENSE README ToDo WHERE
+ dodoc BUGS History* README ToDo WHERE
}