26 lines
632 B
Bash
26 lines
632 B
Bash
# Template file for 'zlib'
|
|
pkgname=zlib
|
|
version=1.2.12
|
|
revision=4
|
|
bootstrap=yes
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --shared"
|
|
short_desc="Compression/decompression Library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Zlib"
|
|
homepage="http://www.zlib.net"
|
|
distfiles="$homepage/$pkgname-$version.tar.gz"
|
|
checksum=91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9
|
|
|
|
zlib-devel_package() {
|
|
depends="zlib>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share
|
|
}
|
|
}
|