1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
86 lines
2.4 KiB
Bash
86 lines
2.4 KiB
Bash
# Template file for 'apr-util'
|
|
pkgname=apr-util
|
|
version=1.5.4
|
|
revision=3
|
|
build_style=gnu-configure
|
|
# XXX: add freetds and unixodbc modules.
|
|
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-crypto --with-openssl --without-odbc --without-oracle"
|
|
hostmakedepends="apr-devel"
|
|
makedepends="zlib-devel libressl-devel apr-devel db-devel expat-devel
|
|
gdbm-devel libldap-devel libmysqlclient-devel postgresql-libs-devel sqlite-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=a6cf327189ca0df2fb9d5633d7326c460fe2b61684745fd7963e79a6dd0dc82e
|
|
|
|
nocross="http://build.voidlinux.eu/builders/armv7l_builder/builds/7623/steps/shell_4/logs/stdio"
|
|
|
|
post_install() {
|
|
# remove static libs
|
|
find ${DESTDIR} -type f -name \*.a -delete
|
|
}
|
|
|
|
apr-util-devel_package() {
|
|
depends="apr-devel expat-devel libldap-devel db-devel ${sourcepkg}>=${version}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
vmove "usr/lib/*.exp"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
apr-util-db_package() {
|
|
lib32disabled=yes
|
|
depends="apr-util-${version}_${revision}"
|
|
short_desc+=" - Berkeley DB module"
|
|
pkg_install() {
|
|
vmove "usr/lib/apr-util-1/apr_dbm_db*"
|
|
}
|
|
}
|
|
apr-util-gdbm_package() {
|
|
lib32disabled=yes
|
|
depends="apr-util-${version}_${revision}"
|
|
short_desc+=" - GDBM module"
|
|
pkg_install() {
|
|
vmove "usr/lib/apr-util-1/apr_dbm_gdbm*"
|
|
}
|
|
}
|
|
apr-util-ldap_package() {
|
|
lib32disabled=yes
|
|
depends="apr-util-${version}_${revision}"
|
|
short_desc+=" - LDAP support"
|
|
pkg_install() {
|
|
vmove "usr/lib/apr-util-1/apr_ldap*"
|
|
}
|
|
}
|
|
apr-util-mysql_package() {
|
|
lib32disabled=yes
|
|
depends="apr-util-${version}_${revision}"
|
|
short_desc+=" - MySQL module"
|
|
pkg_install() {
|
|
vmove "usr/lib/apr-util-1/apr_dbd_mysql*"
|
|
}
|
|
}
|
|
apr-util-pgsql_package() {
|
|
lib32disabled=yes
|
|
depends="apr-util-${version}_${revision}"
|
|
short_desc+=" - PostgreSQL module"
|
|
pkg_install() {
|
|
vmove "usr/lib/apr-util-1/apr_dbd_pgsql*"
|
|
}
|
|
}
|
|
apr-util-sqlite_package() {
|
|
lib32disabled=yes
|
|
depends="apr-util-${version}_${revision}"
|
|
short_desc+=" - SQLite module"
|
|
pkg_install() {
|
|
vmove "usr/lib/apr-util-1/apr_dbd_sqlite*"
|
|
}
|
|
}
|