2010-04-30 00:06:45 +00:00
|
|
|
# Template file for 'apr-util'
|
|
|
|
pkgname=apr-util
|
2014-11-19 07:47:30 +00:00
|
|
|
version=1.5.4
|
2015-03-04 15:04:30 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-12 06:55:23 +00:00
|
|
|
# XXX: add freetds and unixodbc modules.
|
2014-02-18 10:43:54 +00:00
|
|
|
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
|
2014-08-04 18:41:57 +00:00
|
|
|
--with-crypto --with-openssl --without-odbc --without-oracle"
|
2014-02-18 10:43:54 +00:00
|
|
|
hostmakedepends="apr-devel>=1.5"
|
2015-03-04 15:04:30 +00:00
|
|
|
makedepends="zlib-devel libressl-devel>=2.1.4 apr-devel>=1.5 db-devel>=5.3 expat-devel
|
2014-08-04 18:41:57 +00:00
|
|
|
gdbm-devel libldap-devel libmysqlclient-devel postgresql-libs-devel sqlite-devel"
|
2010-04-30 00:06:45 +00:00
|
|
|
short_desc="The Apache Portable Runtime Utility Library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-04 10:18:05 +00:00
|
|
|
homepage="http://apr.apache.org/"
|
|
|
|
license="Apache-2.0"
|
2012-12-09 10:43:35 +00:00
|
|
|
distfiles="http://www.apache.org/dist/apr/${pkgname}-${version}.tar.bz2"
|
2014-11-19 07:47:30 +00:00
|
|
|
checksum=a6cf327189ca0df2fb9d5633d7326c460fe2b61684745fd7963e79a6dd0dc82e
|
2014-02-18 10:43:54 +00:00
|
|
|
|
2015-02-24 09:50:36 +00:00
|
|
|
nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/7623/steps/shell_4/logs/stdio"
|
2010-04-30 00:06:45 +00:00
|
|
|
|
2012-12-09 10:43:35 +00:00
|
|
|
post_install() {
|
|
|
|
# remove static libs
|
|
|
|
find ${DESTDIR} -type f -name \*.a -delete
|
2010-04-30 00:06:45 +00:00
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
|
2013-04-16 08:00:19 +00:00
|
|
|
apr-util-devel_package() {
|
2014-08-16 16:01:54 +00:00
|
|
|
depends="apr-devel expat-devel libldap-devel db-devel ${sourcepkg}>=${version}"
|
2013-05-09 14:26:34 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-16 08:00:19 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.exp"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
2014-03-29 11:43:57 +00:00
|
|
|
apr-util-db_package() {
|
|
|
|
lib32disabled=yes
|
2015-02-24 09:50:36 +00:00
|
|
|
depends="apr-util-${version}_${revision}"
|
2014-03-29 11:43:57 +00:00
|
|
|
short_desc+=" - Berkeley DB module"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/apr-util-1/apr_dbm_db*"
|
|
|
|
}
|
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
apr-util-gdbm_package() {
|
2015-02-24 09:50:36 +00:00
|
|
|
lib32disabled=yes
|
|
|
|
depends="apr-util-${version}_${revision}"
|
2013-05-09 14:26:34 +00:00
|
|
|
short_desc+=" - GDBM module"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/apr-util-1/apr_dbm_gdbm*"
|
|
|
|
}
|
|
|
|
}
|
2013-04-16 08:00:19 +00:00
|
|
|
apr-util-ldap_package() {
|
2014-03-29 11:43:57 +00:00
|
|
|
lib32disabled=yes
|
2015-02-24 09:50:36 +00:00
|
|
|
depends="apr-util-${version}_${revision}"
|
2013-05-09 14:26:34 +00:00
|
|
|
short_desc+=" - LDAP support"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
2013-04-16 08:01:47 +00:00
|
|
|
vmove "usr/lib/apr-util-1/apr_ldap*"
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
apr-util-mysql_package() {
|
2014-03-29 11:43:57 +00:00
|
|
|
lib32disabled=yes
|
2015-02-24 09:50:36 +00:00
|
|
|
depends="apr-util-${version}_${revision}"
|
2013-05-09 14:26:34 +00:00
|
|
|
short_desc+=" - MySQL module"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/apr-util-1/apr_dbd_mysql*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
apr-util-pgsql_package() {
|
2014-03-29 11:43:57 +00:00
|
|
|
lib32disabled=yes
|
2015-02-24 09:50:36 +00:00
|
|
|
depends="apr-util-${version}_${revision}"
|
2013-05-09 14:26:34 +00:00
|
|
|
short_desc+=" - PostgreSQL module"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/apr-util-1/apr_dbd_pgsql*"
|
|
|
|
}
|
|
|
|
}
|
2013-04-16 08:00:19 +00:00
|
|
|
apr-util-sqlite_package() {
|
2014-03-29 11:43:57 +00:00
|
|
|
lib32disabled=yes
|
2015-02-24 09:50:36 +00:00
|
|
|
depends="apr-util-${version}_${revision}"
|
2013-05-09 14:26:34 +00:00
|
|
|
short_desc+=" - SQLite module"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
2013-04-16 08:00:19 +00:00
|
|
|
vmove "usr/lib/apr-util-1/apr_dbd_sqlite*"
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|