2010-04-24 04:36:03 +00:00
|
|
|
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
2010-02-27 16:19:00 +00:00
|
|
|
|
|
|
|
pkgname=zlib
|
2010-04-24 04:36:03 +00:00
|
|
|
pkgver=1.2.5
|
2010-02-27 16:19:00 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A compression/decompression Library"
|
|
|
|
arch=(arm)
|
|
|
|
license=('custom:zlib')
|
|
|
|
url="http://www.zlib.net/"
|
|
|
|
groups=('base')
|
|
|
|
depends=('glibc')
|
2010-04-24 04:36:03 +00:00
|
|
|
#source=("ftp://ftp.archlinux.org/other/zlib/zlib-${pkgver}.tar.gz")
|
|
|
|
#md5sums=('e63390cc6cbd0722f70729307d4dd01d')
|
|
|
|
source=("http://zlib.net/zlib-${pkgver}.tar.gz")
|
|
|
|
md5sums=('c735eab2d659a96e5a594c9e8541ad63')
|
2010-02-27 16:19:00 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${srcdir}/zlib-$pkgver
|
|
|
|
|
|
|
|
./configure --prefix=/usr --shared
|
|
|
|
make || return 1
|
|
|
|
make install prefix=${pkgdir}/usr || return 1
|
|
|
|
chmod 644 ${pkgdir}/usr/lib/libz.a
|
|
|
|
|
|
|
|
grep -A 24 '^ Copyright' zlib.h > license.txt
|
|
|
|
install -Dm644 license.txt ${pkgdir}/usr/share/licenses/zlib/license.txt
|
|
|
|
}
|