summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/zlib')
-rw-r--r--sys-libs/zlib/Manifest6
-rw-r--r--sys-libs/zlib/files/digest-zlib-1.2.1-r11
-rw-r--r--sys-libs/zlib/zlib-1.2.1-r1.ebuild58
3 files changed, 62 insertions, 3 deletions
diff --git a/sys-libs/zlib/Manifest b/sys-libs/zlib/Manifest
index a9ffb8d84873..27e2c4a5c71c 100644
--- a/sys-libs/zlib/Manifest
+++ b/sys-libs/zlib/Manifest
@@ -1,10 +1,10 @@
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/Manifest,v 1.20 2003/12/21 09:45:25 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/Manifest,v 1.21 2003/12/21 09:45:32 robbat2 Exp $
MD5 c4e38da0c9d2a30fd8ff4da0639abec4 zlib-1.1.4-r2.ebuild 1090
MD5 7702fd456b70d4a67252cedeb28c655e zlib-1.1.4-r4.ebuild 1335
MD5 1c205ae462fe64d2dacacfb159c01150 zlib-1.2.1.ebuild 1291
-MD5 32ad16734f486eea8a6e0a8ec5daab50 zlib-1.2.1-r1.ebuild 1297
+MD5 4237b2c4f14848f52b3bb0fd44c5599b zlib-1.2.1-r1.ebuild 1334
MD5 f344d422056765d631bb5dbc46fc4687 zlib-1.1.4-r3.ebuild 1258
-MD5 3f4c8616bdd208ff5b7f32305c27c198 ChangeLog 3189
+MD5 575afa0aba4915a7f42388dd02a5c62c ChangeLog 3351
MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
MD5 a99957dc7ed74f72f833af10fd786352 files/zlib-1.1.4-build-fPIC.patch 2157
MD5 7de93a37ee67e3ef547846118f5290ff files/digest-zlib-1.2.1 63
diff --git a/sys-libs/zlib/files/digest-zlib-1.2.1-r1 b/sys-libs/zlib/files/digest-zlib-1.2.1-r1
new file mode 100644
index 000000000000..9f6b96487246
--- /dev/null
+++ b/sys-libs/zlib/files/digest-zlib-1.2.1-r1
@@ -0,0 +1 @@
+MD5 8106069990476a3c5187301465bd7a60 zlib-1.2.1.tar.bz2 284152
diff --git a/sys-libs/zlib/zlib-1.2.1-r1.ebuild b/sys-libs/zlib/zlib-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..7af7f6eafc79
--- /dev/null
+++ b/sys-libs/zlib/zlib-1.2.1-r1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/zlib/zlib-1.2.1-r1.ebuild,v 1.1 2003/12/21 09:45:25 robbat2 Exp $
+
+inherit eutils flag-o-matic
+
+S="${WORKDIR}/${P}"
+DESCRIPTION="Standard (de)compression library"
+SRC_URI="http://www.gzip.org/zlib/${P}.tar.bz2"
+HOMEPAGE="http://www.gzip.org/zlib"
+
+LICENSE="ZLIB"
+KEYWORDS="~amd64 ~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm ~ia64 ~ppc64"
+SLOT="0"
+
+DEPEND="virtual/glibc"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ # Make sure we link with glibc at all times
+ epatch ${FILESDIR}/${P}-glibc.patch
+ # Needed for Alpha and prelink
+ epatch ${FILESDIR}/${P}-build-fPIC.patch
+ # Only export global symbols, bug #32764
+ epatch ${FILESDIR}/${P}-mapfile.patch
+}
+
+src_compile() {
+ ./configure --shared --prefix=/usr --libdir=/lib || die
+ emake || die
+ make test || die
+
+ ./configure --prefix=/usr --libdir=/lib || die
+ emake || die
+}
+
+src_install() {
+ einstall libdir=${D}/lib || die
+ into /usr
+ dodir /usr/include
+ insinto /usr/include
+ doins zconf.h zlib.h
+
+ doman zlib.3
+ dodoc FAQ README ChangeLog
+ docinto txt
+ dodoc algorithm.txt
+
+ into /
+ dolib libz.so.${PV}
+ ( cd ${D}/lib ; chmod 755 libz.so.* )
+ dolib libz.a
+ dosym libz.so.${PV} /lib/libz.so
+ dosym libz.so.${PV} /lib/libz.so.1
+
+}