void-packages/srcpkgs/zlib/template

27 lines
695 B
Bash

# Template file for 'zlib'
pkgname=zlib
version=1.2.13
revision=1
bootstrap=yes
build_style=configure
configure_args="--prefix=/usr --shared"
short_desc="Compression/decompression Library"
maintainer="Orphaned <orphan@voidlinux.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=b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30
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
}
}