Convert packages to {host,}makedepends and XBPS_CROSS_BUILD.

This commit is contained in:
Juan RP 2013-03-24 10:21:58 +01:00
parent d83a901909
commit ea38e4719a
144 changed files with 338 additions and 455 deletions

View file

@ -9,7 +9,6 @@ configure_args="--enable-utf8 --enable-unicode-properties --with-pic
--enable-pcretest-libreadline --disable-pcregrep-jit --enable-jit
--disable-static"
makedepends="zlib-devel bzip2-devel readline-devel"
crossmakedepends="${makedepends}"
short_desc="Perl Compatible Regular Expressions"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.pcre.org/"
@ -17,11 +16,9 @@ license="BSD"
distfiles="${SOURCEFORGE_SITE}/pcre/pcre-$version.tar.bz2"
checksum=a913fb9bd058ef380a2d91847c3c23fcf98e92dc3b47cd08a53c021c5cde0f55
if [ "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake ${makedepends}"
pre_configure() {
autoreconf -fi
}
if [ "$XBPS_CROSS_BUILD" ]; then
hostmakedepends="automake"
pre_configure() {
autoreconf -fi
}
fi