2006-02-23 16:26:10 +01:00
|
|
|
# Description: Apache Portable Runtime library
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 16:26:10 +01:00
|
|
|
# URL: http://apr.apache.org/
|
2008-06-23 09:53:44 +02:00
|
|
|
# Depends on: e2fsprogs, expat, db, gdbm
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=apr
|
2009-07-15 14:28:00 +02:00
|
|
|
version=1.3.6
|
2009-06-05 18:42:40 +02:00
|
|
|
release=1
|
2006-02-24 08:59:47 +01:00
|
|
|
source=(http://www.apache.org/dist/$name/$name-$version.tar.bz2 \
|
2009-07-15 14:28:00 +02:00
|
|
|
http://www.apache.org/dist/$name/$name-util-1.3.8.tar.bz2)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build(){
|
2006-02-24 08:59:47 +01:00
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
2006-11-25 16:06:31 +01:00
|
|
|
--with-installbuilddir=/usr/share/apr-1
|
2006-02-24 08:59:47 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 16:26:10 +01:00
|
|
|
|
2009-07-15 14:28:00 +02:00
|
|
|
cd $SRC/$name-util-1.3.8
|
2006-02-24 08:59:47 +01:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-apr=$SRC/$name-$version \
|
|
|
|
--with-expat=/usr \
|
2006-11-25 16:06:31 +01:00
|
|
|
--with-berkeley-db=/usr \
|
2008-10-23 14:41:06 +02:00
|
|
|
--with-gdbm=/usr \
|
2009-06-05 18:42:40 +02:00
|
|
|
--without-sqlite3 \
|
|
|
|
--disable-util-dso
|
2006-02-24 08:59:47 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 16:26:10 +01:00
|
|
|
|
2006-11-25 16:06:31 +01:00
|
|
|
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
|
2006-02-24 08:59:47 +01:00
|
|
|
rm -r $PKG/usr/lib/*.exp
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|