mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
25 lines
648 B
Bash
25 lines
648 B
Bash
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
|
|
|
|
pkgname=zlib
|
|
pkgver=1.2.3.9
|
|
pkgrel=1
|
|
pkgdesc="A compression/decompression Library"
|
|
arch=(arm)
|
|
license=('custom:zlib')
|
|
url="http://www.zlib.net/"
|
|
groups=('base')
|
|
depends=('glibc')
|
|
source=("ftp://ftp.archlinux.org/other/zlib/zlib-${pkgver}.tar.gz")
|
|
md5sums=('e63390cc6cbd0722f70729307d4dd01d')
|
|
|
|
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
|
|
}
|