PKGBUILD 934 Bytes
Newer Older
Manuel Tortosa's avatar
Manuel Tortosa committed
1 2 3 4 5 6 7 8
#
# 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
Jan Mette's avatar
Jan Mette committed
9 10

pkgname=apr
11
pkgver=1.4.5
12
pkgrel=2
Jan Mette's avatar
Jan Mette committed
13 14 15 16 17 18 19
pkgdesc="The Apache Portable Runtime"
arch=('i686' 'x86_64')
url="http://apr.apache.org/"
depends=('util-linux-ng>=2.16')
options=('!libtool')
license=('APACHE')
source=(http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2)
20
md5sums=('daf5487c82dd7bec9c005c96f8cb01b1')
Jan Mette's avatar
Jan Mette committed
21

22 23
md5sums=('8b53f5a5669d0597f2da889a2f576eb6')

Jan Mette's avatar
Jan Mette committed
24 25 26 27 28 29 30
build() {
  cd "${srcdir}/apr-${pkgver}"
  export apr_cv_accept4=no

  ./configure --prefix=/usr --includedir=/usr/include/apr-1 \
    --with-installbuilddir=/usr/share/apr-1/build \
    --enable-nonportable-atomics \
31 32 33
    --with-devrandom=/dev/urandom
  make
  make DESTDIR="${pkgdir}" install
Jan Mette's avatar
Jan Mette committed
34
}