summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-arch/zip/ChangeLog7
-rw-r--r--app-arch/zip/files/digest-zip-2.312
-rw-r--r--app-arch/zip/zip-2.31.ebuild40
3 files changed, 48 insertions, 1 deletions
diff --git a/app-arch/zip/ChangeLog b/app-arch/zip/ChangeLog
index 55ab6455d49c..56eacc9a793d 100644
--- a/app-arch/zip/ChangeLog
+++ b/app-arch/zip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-arch/zip
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/ChangeLog,v 1.35 2005/01/01 12:02:30 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/ChangeLog,v 1.36 2005/03/13 06:59:37 vapier Exp $
+
+*zip-2.31 (13 Mar 2005)
+
+ 13 Mar 2005; Mike Frysinger <vapier@gentoo.org> +zip-2.31.ebuild:
+ Version bump #84914 by Kenyon Ralph.
07 Nov 2004; Joshua Kinard <kumba@gentoo.org> zip-2.3-r4.ebuild:
Marked stable on mips.
diff --git a/app-arch/zip/files/digest-zip-2.31 b/app-arch/zip/files/digest-zip-2.31
new file mode 100644
index 000000000000..b95b7f59559d
--- /dev/null
+++ b/app-arch/zip/files/digest-zip-2.31
@@ -0,0 +1,2 @@
+MD5 6bfc076664416251d7624ab3538d1cb9 zip231.tar.gz 781641
+MD5 0c969ba1661183b041a142945ed2710e zcrypt29.zip 20248
diff --git a/app-arch/zip/zip-2.31.ebuild b/app-arch/zip/zip-2.31.ebuild
new file mode 100644
index 000000000000..e01cfacc3c27
--- /dev/null
+++ b/app-arch/zip/zip-2.31.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-arch/zip/zip-2.31.ebuild,v 1.1 2005/03/13 06:59:37 vapier Exp $
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Info ZIP (encryption support)"
+HOMEPAGE="ftp://ftp.freesoftware.com/pub/infozip/Zip.html"
+SRC_URI="ftp://ftp.info-zip.org/pub/infozip/src/zip${PV//.}.tar.gz
+ crypt? ( ftp://ftp.icce.rug.nl/infozip/src/zcrypt29.zip )"
+
+LICENSE="Info-ZIP"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="crypt"
+
+DEPEND="crypt? ( app-arch/unzip )"
+
+src_unpack() {
+ unpack ${A}
+ use crypt && mv -f crypt.[ch] "${S}"
+ cd "${S}"
+ epatch "${FILESDIR}"/zip-2.3-unix_configure-pic.patch
+ cd unix
+ sed -i -e "s:-O2:${CFLAGS}:" Makefile
+}
+
+src_compile() {
+ emake \
+ -f unix/Makefile \
+ CC="$(tc-getCC)" \
+ CPP="$(tc-getCC) -E" \
+ generic || die
+}
+
+src_install() {
+ dobin zip zipcloak zipnote zipsplit || die
+ doman man/zip.1
+ dodoc BUGS CHANGES MANUAL README TODO WHATSNEW WHERE
+}