summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-07-16 06:15:42 +0000
committerNick Hadaway <raker@gentoo.org>2003-07-16 06:15:42 +0000
commit3d5c0a69f2243afc22bd34cac05032da55002bf6 (patch)
tree97ffcf4787e8a7f8808383c681e67b1f47d112c5 /app-arch/zip/zip-2.3-r2.ebuild
parentnew version of centericq. added ssl USE variable support. patch is a (diff)
downloadgentoo-2-3d5c0a69f2243afc22bd34cac05032da55002bf6.tar.gz
gentoo-2-3d5c0a69f2243afc22bd34cac05032da55002bf6.tar.bz2
gentoo-2-3d5c0a69f2243afc22bd34cac05032da55002bf6.zip
New build of zip which includes encryption support.
Diffstat (limited to 'app-arch/zip/zip-2.3-r2.ebuild')
-rw-r--r--app-arch/zip/zip-2.3-r2.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/app-arch/zip/zip-2.3-r2.ebuild b/app-arch/zip/zip-2.3-r2.ebuild
new file mode 100644
index 000000000000..45bc8afc5a03
--- /dev/null
+++ b/app-arch/zip/zip-2.3-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-2.3-r2.ebuild,v 1.1 2003/07/16 06:15:42 raker Exp $
+
+IUSE="crypt"
+
+DESCRIPTION="Info ZIP (encryption support)"
+SRC_URI="http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/${PN}23.tar.gz
+ crypt? ( ftp://ftp.icce.rug.nl/infozip/src/zcrypt29.zip )"
+HOMEPAGE="ftp://ftp.freesoftware.com/pub/infozip/Zip.html"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+LICENSE="Info-ZIP"
+
+src_unpack() {
+ unpack ${A}
+ if [ "`use crypt`" ]; then
+ mv -f crypt.h ${S}
+ mv -f crypt.c ${S}
+ fi
+ cd ${S}/unix
+ cp Makefile Makefile.orig
+ sed -e "s:-O2:${CFLAGS}:" Makefile.orig > Makefile
+}
+
+src_compile() {
+ make -f unix/Makefile generic_gcc || die
+}
+
+src_install() {
+ dobin zip zipcloak zipnote zipsplit
+ doman man/zip.1
+ dodoc BUGS CHANGES LICENSE MANUAL README TODO WHATSNEW WHERE
+}
+