# Template build file for 'zlib' pkgname=zlib version=1.2.10 revision=1 bootstrap=yes build_style=configure short_desc="A compression/decompression Library" maintainer="Juan RP " license="zlib" homepage="http://www.zlib.net" distfiles="$homepage/$pkgname-$version.tar.gz" checksum=8d7e9f698ce48787b6e1c67e6bff79e487303e66077e25cb9784ac8835978017 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 } }