diff --git a/srcpkgs/zlib/template b/srcpkgs/zlib/template index febf920389..74cc65acef 100644 --- a/srcpkgs/zlib/template +++ b/srcpkgs/zlib/template @@ -1,12 +1,14 @@ # Template build file for 'zlib' pkgname=zlib version=1.2.5 +revision=1 distfiles="http://www.zlib.net/$pkgname-$version.tar.bz2" build_style=configure configure_args="--prefix=/usr --shared" if [ "${xbps_machine}" = "x86_64" ]; then configure_args="${configure_args} --64" fi +make_build_args="CFLAGS=-fPIC" make_install_args="LDCONFIG=" short_desc="A compression/decompression Library" maintainer="Juan RP " diff --git a/srcpkgs/zlib/zlib-devel.template b/srcpkgs/zlib/zlib-devel.template index 84ee4ed021..01173f96bb 100644 --- a/srcpkgs/zlib/zlib-devel.template +++ b/srcpkgs/zlib/zlib-devel.template @@ -5,6 +5,8 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." +revision=1 + Add_dependency run glibc-devel Add_dependency run zlib