summaryrefslogtreecommitdiff
path: root/apr/Pkgfile
blob: bfc13decd2f552e064266cbf1c1306d2f2f0b949 (plain)
    1 # Description: Apache Portable Runtime library
    2 # Maintainer:  Juergen Daubert, jue at crux dot nu
    3 # URL:         http://apr.apache.org/
    4 # Depends on:  util-linux, expat, db, gdbm
    5 
    6 name=apr
    7 version=1.7.0
    8 release=1
    9 source=(http://www.apache.org/dist/$name/$name-$version.tar.bz2 \
   10         http://www.apache.org/dist/$name/$name-util-1.6.1.tar.bz2)
   11 
   12 build(){
   13     cd $name-$version
   14     ./configure --prefix=/usr \
   15                 --with-installbuilddir=/usr/share/apr-1 
   16     make 
   17     make -j1 DESTDIR=$PKG install
   18 
   19     cd $SRC/$name-util-1.6.1
   20     ./configure --prefix=/usr \
   21                 --with-apr=$SRC/$name-$version \
   22                 --with-expat=/usr \
   23                 --with-berkeley-db=/usr \
   24                 --with-gdbm=/usr \
   25                 --without-sqlite3 \
   26                 --disable-util-dso
   27     make
   28     make DESTDIR=$PKG install
   29 
   30     sed -i -r "/^APR_(SOURCE|BUILD)/s|=.*|=|" $PKG/usr/bin/apr-1-config
   31     sed -i -r "/^APU_(SOURCE|BUILD)/s|=.*|=|" $PKG/usr/bin/apu-1-config
   32     rm -r $PKG/usr/lib/*.exp
   33 }

Generated by cgit