mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 07:47:20 +08:00
35 lines
934 B
Bash
35 lines
934 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
|
|
pkgver=1.4.5
|
|
pkgrel=2
|
|
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)
|
|
md5sums=('daf5487c82dd7bec9c005c96f8cb01b1')
|
|
|
|
md5sums=('8b53f5a5669d0597f2da889a2f576eb6')
|
|
|
|
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 \
|
|
--with-devrandom=/dev/urandom
|
|
make
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|