blob: 610e98329f5147f2e851fb1cd6ba6bf61a6c7f9f (
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
|
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=zlib
pkgver=1.3.1
pkgrel=0
pkgdesc="A compression/decompression Library"
arch="all"
license="Zlib"
url="https://zlib.net"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://zlib.net/$pkgname-$pkgver.tar.gz"
build() {
CHOST="${CHOST}" ./configure \
--prefix=/usr \
--libdir=/lib \
--shared
make
}
check() {
make check
}
package() {
make install \
pkgconfigdir="/usr/lib/pkgconfig" \
DESTDIR="$pkgdir"
}
sha512sums="580677aad97093829090d4b605ac81c50327e74a6c2de0b85dd2e8525553f3ddde17556ea46f8f007f89e435493c9a20bc997d1ef1c1c2c23274528e3c46b94f zlib-1.3.1.tar.gz"
|