mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-25 02:52:16 +08:00
31 lines
937 B
Bash
31 lines
937 B
Bash
#
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=apr-util
|
|
pkgver=1.3.9
|
|
pkgrel=4
|
|
pkgdesc="The Apache Portable Runtime"
|
|
arch=('i686' 'x86_64')
|
|
url="http://apr.apache.org/"
|
|
depends=('apr>=1.4.2' 'gdbm' 'expat' 'db>=4.8' 'libldap' 'unixodbc')
|
|
options=('!libtool')
|
|
license=('APACHE')
|
|
source=("http://www.apache.org/dist/apr/apr-util-${pkgver}.tar.bz2")
|
|
md5sums=('29dd557f7bd891fc2bfdffcfa081db59')
|
|
|
|
build() {
|
|
cd "${srcdir}/apr-util-${pkgver}"
|
|
|
|
./configure --prefix=/usr --with-apr=/usr \
|
|
--without-pgsql --without-mysql --without-sqlite2 --without-sqlite3 \
|
|
--with-berkeley-db=/usr --with-gdbm=/usr --with-ldap || return 1
|
|
make || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|