2010-04-30 00:06:45 +00:00
|
|
|
# Template file for 'apr-util'
|
|
|
|
pkgname=apr-util
|
2011-07-04 10:18:05 +00:00
|
|
|
version=1.3.12
|
2013-04-12 06:55:23 +00:00
|
|
|
revision=6
|
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.
|
2010-04-30 00:06:45 +00:00
|
|
|
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"
|
2012-12-09 10:43:35 +00:00
|
|
|
makedepends="apr-devel db-devel expat-devel gdbm-devel libldap-devel
|
2013-03-31 14:02:10 +00:00
|
|
|
libmysqlclient-devel postgresql-libs-devel sqlite-devel zlib-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"
|
2011-07-04 10:18:05 +00:00
|
|
|
checksum=93976dc2f40d8622c4e9c355f419bb20f2c0dd843ee21a295a092d1c1b950d9c
|
2010-04-30 00:06:45 +00:00
|
|
|
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."
|
|
|
|
|
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
|
|
|
|
|
|
|
apr-util-db_package() {
|
|
|
|
depends="apr-util>=${version}"
|
|
|
|
short_desc="${short_desc} - Berkeley DB module"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/apr-util-1/apr_dbm_db*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-16 08:00:19 +00:00
|
|
|
apr-util-devel_package() {
|
|
|
|
depends="apr-devel expat-devel libldap-devel ${sourcepkg}>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.exp"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
apr-util-gdbm_package() {
|
|
|
|
depends="apr-util>=${version}"
|
|
|
|
short_desc="${short_desc} - GDBM module"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/apr-util-1/apr_dbm_gdbm*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-16 08:00:19 +00:00
|
|
|
apr-util-ldap_package() {
|
2013-04-12 06:55:23 +00:00
|
|
|
depends="apr-util>=${version}"
|
2013-04-16 08:00:19 +00:00
|
|
|
short_desc="${short_desc} - LDAP support"
|
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_ldap*."
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apr-util-mysql_package() {
|
|
|
|
depends="apr-util>=${version}"
|
|
|
|
short_desc="${short_desc} - MySQL module"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/apr-util-1/apr_dbd_mysql*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apr-util-pgsql_package() {
|
|
|
|
depends="apr-util>=${version}"
|
|
|
|
short_desc="${short_desc} - PostgreSQL module"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/apr-util-1/apr_dbd_pgsql*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-16 08:00:19 +00:00
|
|
|
apr-util-sqlite_package() {
|
2013-04-12 06:55:23 +00:00
|
|
|
depends="apr-util>=${version}"
|
2013-04-16 08:00:19 +00:00
|
|
|
short_desc="${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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apr-util_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|