Security fixes, see - http://www.apache.org/dist/apr/Announcement1.3.html - http://www.apache.org/dist/apr/CHANGES-APR-1.3 - http://www.apache.org/dist/apr/CHANGES-APR-UTIL-1.3
34 lines
1.0 KiB
Plaintext
34 lines
1.0 KiB
Plaintext
# Description: Apache Portable Runtime library
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
|
# URL: http://apr.apache.org/
|
|
# Depends on: e2fsprogs, expat, db, gdbm
|
|
|
|
name=apr
|
|
version=1.3.8
|
|
release=1
|
|
source=(http://www.apache.org/dist/$name/$name-$version.tar.bz2 \
|
|
http://www.apache.org/dist/$name/$name-util-1.3.9.tar.bz2)
|
|
|
|
build(){
|
|
cd $name-$version
|
|
./configure --prefix=/usr \
|
|
--with-installbuilddir=/usr/share/apr-1
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
cd $SRC/$name-util-1.3.9
|
|
./configure --prefix=/usr \
|
|
--with-apr=$SRC/$name-$version \
|
|
--with-expat=/usr \
|
|
--with-berkeley-db=/usr \
|
|
--with-gdbm=/usr \
|
|
--without-sqlite3 \
|
|
--disable-util-dso
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
sed -i -r "/^APR_(SOURCE|BUILD)/s|=.*|=|" $PKG/usr/bin/apr-1-config
|
|
sed -i -r "/^APU_(SOURCE|BUILD)/s|=.*|=|" $PKG/usr/bin/apu-1-config
|
|
rm -r $PKG/usr/lib/*.exp
|
|
}
|