From d6a67a0f38ccb5f5430798cf4d8ee5d6b2fb2fff Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 21 Apr 2010 01:37:11 +0200 Subject: [PATCH] zlib: build with --64 on x86_64, bumprev. --HG-- extra : convert_revision : 43f70850985eca9e5d1a0f31a6b477182b3fd491 --- srcpkgs/zlib/template | 4 ++++ srcpkgs/zlib/zlib-devel.template | 2 ++ 2 files changed, 6 insertions(+) diff --git a/srcpkgs/zlib/template b/srcpkgs/zlib/template index 4f52048b30..238e70e98f 100644 --- a/srcpkgs/zlib/template +++ b/srcpkgs/zlib/template @@ -1,9 +1,13 @@ # Template build file for 'zlib' pkgname=zlib version=1.2.4 +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 short_desc="A compression/decompression Library" maintainer="Juan RP " checksum=d0fc3433bb3ff5bbf1d2db57a328c0be39ac4a74d4b39887af522acf7ecd5ecc diff --git a/srcpkgs/zlib/zlib-devel.template b/srcpkgs/zlib/zlib-devel.template index f70983d29f..68a7c83f54 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