apr-util: update to 1.5.3.

This commit is contained in:
Juan RP 2014-02-18 11:43:54 +01:00
parent 71a08589c5
commit 1c74774e2b

View file

@ -1,27 +1,34 @@
# Template file for 'apr-util'
pkgname=apr-util
version=1.3.12
revision=7
version=1.5.3
revision=1
build_style=gnu-configure
# XXX: add freetds and unixodbc modules.
configure_args="--with-pgsql --with-mysql --with-sqlite3 --with-ldap
--with-berkeley-db --with-gdbm --with-apr=/usr --without-odbc
--with-expat=/usr --without-oracle"
makedepends="apr-devel db-devel>=5.3 expat-devel gdbm-devel libldap-devel
libmysqlclient-devel postgresql-libs-devel sqlite-devel zlib-devel"
configure_args="
--with-apr=/usr --with-pgsql --with-ldap --with-expat=${XBPS_CROSS_BASE}/usr
--with-gdbm=${XBPS_CROSS_BASE}/usr --with-sqlite3=${XBPS_CROSS_BASE}/usr
--with-mysql=${XBPS_CROSS_BASE}/usr --with-dbm=db53 --with-berkeley-db
--with-openssl --without-odbc --without-oracle"
hostmakedepends="apr-devel>=1.5"
makedepends="apr-devel>=1.5 db-devel>=5.3 expat-devel gdbm-devel libldap-devel
libmysqlclient-devel postgresql-libs-devel sqlite-devel zlib-devel openssl-devel"
short_desc="The Apache Portable Runtime Utility Library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://apr.apache.org/"
license="Apache-2.0"
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
checksum=93976dc2f40d8622c4e9c355f419bb20f2c0dd843ee21a295a092d1c1b950d9c
long_desc="
APR is Apache's Portable Runtime Library, designed to be a support library
that provides a predictable and consistent interface to underlying
platform-specific implementations.
APR Util is a utilities library implemented on top of APR, providing database
access, xml parsing, and other useful functionality."
checksum=78edb174f13e25ee15ded2b849b741a248b879a93a77a2d31c20f7e225be3968
post_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i -r \
-e "/^(apr_builddir|apr_builders|top_builddir)=/s:=:=${XBPS_CROSS_BASE}:" \
-e "/^CC=/s:=.*:=$CC:" \
-e '/^(C|CPP|CXX|LD)FLAGS=/d' \
-e '/^LTFLAGS/s:--silent::' \
build/rules.mk
fi
}
post_install() {
# remove static libs