summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/zlib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/zlib/PKGBUILD')
-rw-r--r--abs/core-testing/zlib/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core-testing/zlib/PKGBUILD b/abs/core-testing/zlib/PKGBUILD
new file mode 100644
index 0000000..70d4b2d
--- /dev/null
+++ b/abs/core-testing/zlib/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 4237 2008-07-05 19:17:35Z pierre $
+# Maintainer: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=zlib
+pkgver=1.2.3.3
+pkgrel=14
+pkgdesc="A compression/decompression Library"
+arch=('i686' 'x86_64')
+license=('custom:zlib')
+url="http://www.gzip.org/zlib"
+groups=('base')
+depends=('glibc')
+source=("ftp://ftp.archlinux.org/other/zlib/zlib-${pkgver}.tar.gz")
+md5sums=('c444cf020e5f0e3323b11f5a2d8af8d3')
+
+build() {
+ cd ${srcdir}/zlib-$pkgver
+
+ ./configure --prefix=/usr --shared
+ make || return 1
+ make install prefix=${pkgdir}/usr || return 1
+
+ grep -A 24 '^ Copyright' zlib.h > license.txt
+ install -D license.txt ${pkgdir}/usr/share/licenses/zlib/license.txt
+}