summaryrefslogtreecommitdiff
path: root/system/zlib/APKBUILD
blob: 177299698923baf74a495ebb4980c2ae1c140de4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: 
pkgname=zlib
pkgver=1.2.11
pkgrel=1
pkgdesc="A compression/decompression Library"
arch="all"
license="zlib"
url="http://zlib.net"
depends=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://zlib.net/$pkgname-$pkgver.tar.gz"

build() {
	cd "$builddir"
	CHOST="${CHOST}" ./configure \
		--prefix=/usr \
		--libdir=/lib \
		--shared
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make install \
		pkgconfigdir="/usr/lib/pkgconfig" \
		DESTDIR="$pkgdir"
}

sha512sums="73fd3fff4adeccd4894084c15ddac89890cd10ef105dd5e1835e1e9bbb6a49ff229713bd197d203edfa17c2727700fce65a2a235f07568212d820dca88b528ae  zlib-1.2.11.tar.gz"