27 lines
702 B
Bash
27 lines
702 B
Bash
# Template file for 'zlib'
|
|
pkgname=zlib
|
|
version=1.3.1
|
|
revision=1
|
|
bootstrap=yes
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --shared"
|
|
short_desc="Compression/decompression Library"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="Zlib"
|
|
homepage="https://www.zlib.net"
|
|
changelog="https://www.zlib.net/ChangeLog.txt"
|
|
distfiles="https://www.zlib.net/fossils/zlib-$version.tar.gz"
|
|
checksum=9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23
|
|
|
|
zlib-devel_package() {
|
|
depends="${sourcepkg}>=${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
|
|
}
|
|
}
|