void-packages/srcpkgs/zlib/template
2017-01-02 09:21:16 +01:00

28 lines
677 B
Bash

# Template build file for 'zlib'
pkgname=zlib
version=1.2.9
revision=1
bootstrap=yes
build_style=configure
short_desc="A compression/decompression Library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="zlib"
homepage="http://www.zlib.net"
distfiles="$homepage/$pkgname-$version.tar.gz"
checksum=73ab302ef31ed1e74895d2af56f52f5853f26b0370f3ef21954347acec5eaa21
do_configure() {
LDFLAGS= LDSHAREDLIBC= ./configure --prefix=/usr --shared
}
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
}
}