diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-09 14:18:11 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-09 14:18:11 +0200 |
commit | 0dd73cbef7a8b992d492f71a7e61f79aab3a1f39 (patch) | |
tree | 6519d0018c3f1e248aca6568d165ef05fa1f2ebc /extra/apr/Pkgfile | |
parent | 98b4027174857aeaa710cd90a399c1e34dc2c0c3 (diff) | |
download | nutyx-extra-0dd73cbef7a8b992d492f71a7e61f79aab3a1f39.tar.gz nutyx-extra-0dd73cbef7a8b992d492f71a7e61f79aab3a1f39.tar.bz2 nutyx-extra-0dd73cbef7a8b992d492f71a7e61f79aab3a1f39.tar.xz nutyx-extra-0dd73cbef7a8b992d492f71a7e61f79aab3a1f39.zip |
Ajout de apr#1.3.7-1
Diffstat (limited to 'extra/apr/Pkgfile')
-rw-r--r-- | extra/apr/Pkgfile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/extra/apr/Pkgfile b/extra/apr/Pkgfile new file mode 100644 index 000000000..79b120909 --- /dev/null +++ b/extra/apr/Pkgfile @@ -0,0 +1,34 @@ +# Description: Librairie exécutables pour Apache +# URL: http://apr.apache.org/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: expat, db, gdbm + +name=apr +version=1.3.7 +release=1 +utilver=1.3.8 +source=(http://mirror.switch.ch/mirror/apache/dist/$name/$name-$version.tar.bz2 \ + http://mirror.switch.ch/mirror/apache/dist/$name/$name-util-$utilver.tar.bz2) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --with-devrandom=/dev/urandom \ + --infodir=/usr/share/info \ + --with-installbuilddir=/usr/share/apr-1 + make + make DESTDIR=$PKG install + cd $SRC/$name-util-$utilver + ./configure --prefix=/usr \ + --with-apr=$SRC/$name-$version \ + --with-expat=/usr \ + --with-berkeley-db=/usr \ + --with-gdbm=/usr + 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 +} |