diff options
Diffstat (limited to 'abs/core/zlib')
-rw-r--r-- | abs/core/zlib/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core/zlib/PKGBUILD b/abs/core/zlib/PKGBUILD new file mode 100644 index 0000000..70d4b2d --- /dev/null +++ b/abs/core/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 +} |