opt/apr-util/Pkgfile

29 lines
662 B
Plaintext

# Description: APR-util provides a number of helpful abstractions on top of APR
# Maintainer: Juergen Daubert, jue at crux dot nu
# URL: https://apr.apache.org/
# Depends on: apr db expat gdbm openssl sqlite3
name=apr-util
version=1.6.3
release=1
source=(https://downloads.apache.org/apr/$name-$version.tar.bz2)
build(){
cd $name-$version
./configure \
--prefix=/usr \
--with-apr=/usr \
--with-expat=/usr \
--with-berkeley-db=/usr \
--with-gdbm=/usr \
--with-sqlite3=/usr \
--with-openssl=/usr \
--with-crypto
make
make DESTDIR=$PKG install
sed -i -r "/^APU_(SOURCE|BUILD)/s|=.*|=|" $PKG/usr/bin/apu-1-config
rm -r $PKG/usr/lib/*.exp
}