mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
26 lines
670 B
Bash
26 lines
670 B
Bash
# Maintainer: Krzysztof "hiciu" Warzecha <kwarzecha7@gmail.com>
|
|
# Modified by OpenPogo
|
|
|
|
pkgname=zlib
|
|
pkgver=1.2.3.3
|
|
pkgrel=2
|
|
pkgdesc="A compression/decompression Library"
|
|
arch=(arm)
|
|
license=('custom:zlib')
|
|
url="http://www.zlib.net/"
|
|
groups=('base')
|
|
depends=()
|
|
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('c444cf020e5f0e3323b11f5a2d8af8d3')
|
|
|
|
build() {
|
|
cd $srcdir/zlib-$pkgver
|
|
|
|
./configure --prefix=/opt --shared
|
|
make || return 1
|
|
make install prefix=$pkgdir/opt || return 1
|
|
chmod 644 $pkgdir/opt/lib/libz.a
|
|
|
|
grep -A 24 '^ Copyright' zlib.h > license.txt
|
|
install -Dm644 license.txt $pkgdir/opt/share/licenses/zlib/license.txt
|
|
}
|