summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/zlib/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/zlib/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
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
+}