Added apr-util-1.3.9 build template.
--HG-- extra : convert_revision : 8dd8c25e495881a7265414ebc2a6b7ce3474557a
This commit is contained in:
parent
01cecbdd7b
commit
ec350afe22
17 changed files with 192 additions and 0 deletions
1
srcpkgs/apr-util-db
Symbolic link
1
srcpkgs/apr-util-db
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
apr-util
|
1
srcpkgs/apr-util-devel
Symbolic link
1
srcpkgs/apr-util-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
apr-util
|
1
srcpkgs/apr-util-gdbm
Symbolic link
1
srcpkgs/apr-util-gdbm
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
apr-util
|
1
srcpkgs/apr-util-ldap
Symbolic link
1
srcpkgs/apr-util-ldap
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
apr-util
|
1
srcpkgs/apr-util-mysql
Symbolic link
1
srcpkgs/apr-util-mysql
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
apr-util
|
1
srcpkgs/apr-util-pgsql
Symbolic link
1
srcpkgs/apr-util-pgsql
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
apr-util
|
1
srcpkgs/apr-util-sqlite
Symbolic link
1
srcpkgs/apr-util-sqlite
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
apr-util
|
18
srcpkgs/apr-util/apr-util-db.template
Normal file
18
srcpkgs/apr-util/apr-util-db.template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'apr-util-db'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - Berkeley DB module"
|
||||||
|
long_desc="
|
||||||
|
${long_desc}
|
||||||
|
|
||||||
|
This packages contains APR Utility module for Berkeley DB."
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run db
|
||||||
|
Add_dependency run apr-util
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/apr-util-1/apr_dbm_db* \
|
||||||
|
${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
}
|
28
srcpkgs/apr-util/apr-util-devel.template
Normal file
28
srcpkgs/apr-util/apr-util-devel.template
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Template file for 'apr-util-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - development files"
|
||||||
|
long_desc="
|
||||||
|
${long_desc}
|
||||||
|
|
||||||
|
This packages contains files for development, static files, headers, etc."
|
||||||
|
|
||||||
|
Add_dependency run zlib-devel
|
||||||
|
Add_dependency run openssl-devel
|
||||||
|
Add_dependency run apr-devel
|
||||||
|
Add_dependency run libuuid-devel
|
||||||
|
Add_dependency run expat-devel
|
||||||
|
Add_dependency run db-devel
|
||||||
|
Add_dependency run gdbm-devel
|
||||||
|
Add_dependency run sqlite-devel
|
||||||
|
Add_dependency run libldap-devel
|
||||||
|
Add_dependency run libmysqlclient-devel
|
||||||
|
Add_dependency run postgresql-libs-devel
|
||||||
|
Add_dependency run apr-util
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/*.{a,exp} ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/{include,bin} ${DESTDIR}/usr
|
||||||
|
}
|
18
srcpkgs/apr-util/apr-util-gdbm.template
Normal file
18
srcpkgs/apr-util/apr-util-gdbm.template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'apr-util-gdbm'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - GDBM module"
|
||||||
|
long_desc="
|
||||||
|
${long_desc}
|
||||||
|
|
||||||
|
This packages contains the APR Utility module for GDBM."
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run gdbm
|
||||||
|
Add_dependency run apr-util
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/apr-util-1/apr_dbm_gdbm* \
|
||||||
|
${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
}
|
17
srcpkgs/apr-util/apr-util-ldap.template
Normal file
17
srcpkgs/apr-util/apr-util-ldap.template
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Template file for 'apr-util-ldap'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - LDAP support"
|
||||||
|
long_desc="
|
||||||
|
${long_desc}
|
||||||
|
|
||||||
|
This packages contains APR Utility support for LDAP."
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libldap
|
||||||
|
Add_dependency run apr-util
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/apr-util-1 ${DESTDIR}/usr/lib
|
||||||
|
}
|
20
srcpkgs/apr-util/apr-util-mysql.template
Normal file
20
srcpkgs/apr-util/apr-util-mysql.template
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# Template file for 'apr-util-mysql'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - MySQL module"
|
||||||
|
long_desc="
|
||||||
|
${long_desc}
|
||||||
|
|
||||||
|
This packages contains the APR Utility module for MySQL."
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run zlib
|
||||||
|
Add_dependency run openssl
|
||||||
|
Add_dependency run libmysqlclient
|
||||||
|
Add_dependency run apr-util
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/apr-util-1/apr_dbd_mysql* \
|
||||||
|
${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
}
|
18
srcpkgs/apr-util/apr-util-pgsql.template
Normal file
18
srcpkgs/apr-util/apr-util-pgsql.template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'apr-util-pgsql'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - PostgreSQL module"
|
||||||
|
long_desc="
|
||||||
|
${long_desc}
|
||||||
|
|
||||||
|
This packages contains the APR Utility module for PostgreSQL."
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run postgresql-libs
|
||||||
|
Add_dependency run apr-util
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/apr-util-1/apr_dbd_pgsql* \
|
||||||
|
${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
}
|
18
srcpkgs/apr-util/apr-util-sqlite.template
Normal file
18
srcpkgs/apr-util/apr-util-sqlite.template
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
# Template file for 'apr-util-sqlite'.
|
||||||
|
#
|
||||||
|
short_desc="${short_desc} - SQLite module"
|
||||||
|
long_desc="
|
||||||
|
${long_desc}
|
||||||
|
|
||||||
|
This packages contains the APR Utility module for SQLite."
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run sqlite
|
||||||
|
Add_dependency run apr-util
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/apr-util-1/apr_dbd_sqlite* \
|
||||||
|
${DESTDIR}/usr/lib/apr-util-1
|
||||||
|
}
|
2
srcpkgs/apr-util/depends
Normal file
2
srcpkgs/apr-util/depends
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
abi_depends=">=1.3.9"
|
||||||
|
api_depends="${abi_depends}"
|
45
srcpkgs/apr-util/template
Normal file
45
srcpkgs/apr-util/template
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
# Template file for 'apr-util'
|
||||||
|
pkgname=apr-util
|
||||||
|
version=1.3.9
|
||||||
|
distfiles="http://www.apache.org/dist/apr/apr-util-${version}.tar.bz2"
|
||||||
|
build_style=gnu_configure
|
||||||
|
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"
|
||||||
|
short_desc="The Apache Portable Runtime Utility Library"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
checksum=8741a76c77ce605e723fd9683e99bee9da8c94a83b47ea2cea72f66255f0ec83
|
||||||
|
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."
|
||||||
|
|
||||||
|
# XXX: add freetds and unixodbc modules.
|
||||||
|
subpackages="$pkgname-db $pkgname-gdbm $pkgname-sqlite $pkgname-mysql"
|
||||||
|
subpackages="${subpackages} $pkgname-pgsql $pkgname-ldap $pkgname-devel"
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libuuid
|
||||||
|
Add_dependency run expat
|
||||||
|
Add_dependency run apr
|
||||||
|
|
||||||
|
Add_dependency build zlib-devel
|
||||||
|
Add_dependency build openssl-devel
|
||||||
|
Add_dependency build apr-devel
|
||||||
|
Add_dependency build libuuid-devel
|
||||||
|
Add_dependency build expat-devel
|
||||||
|
Add_dependency build db-devel
|
||||||
|
Add_dependency build gdbm-devel
|
||||||
|
Add_dependency build sqlite-devel
|
||||||
|
Add_dependency build libldap-devel
|
||||||
|
Add_dependency build libmysqlclient-devel
|
||||||
|
Add_dependency build postgresql-libs-devel
|
||||||
|
|
||||||
|
post_install()
|
||||||
|
{
|
||||||
|
# Remove unused stuff.
|
||||||
|
rm -f ${DESTDIR}/usr/lib/apr-util-1/*.a
|
||||||
|
}
|
|
@ -628,3 +628,4 @@ libLLVMHello.so llvm llvm-devel
|
||||||
libLTO.so llvm llvm-devel
|
libLTO.so llvm llvm-devel
|
||||||
libprofile_rt.so llvm llvm-devel
|
libprofile_rt.so llvm llvm-devel
|
||||||
libapr-1.so apr apr-devel
|
libapr-1.so apr apr-devel
|
||||||
|
ibaprutil-1.so apr-util apr-util-devel
|
||||||
|
|
Loading…
Reference in a new issue