wok-6.x annotate apr-util/receipt @ rev 21350

amule: add debian libupnp1.8.patch
author Richard Dunbar <mojo@slitaz.org>
date Sat Apr 20 15:44:26 2019 -0400 (2019-04-20)
parents 09d49d3ca676
children f4cb7c6f97ac
rev   line source
erjo@1217 1 # SliTaz package receipt.
erjo@1217 2
erjo@1217 3 PACKAGE="apr-util"
erjo@14810 4 VERSION="1.5.2"
pascal@1423 5 CATEGORY="development"
erjo@4643 6 SHORT_DESC="APR Library Utilities"
erjo@1217 7 MAINTAINER="lehswe@gmail.com"
pascal@15362 8 LICENSE="Apache"
slaxemulator@6798 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1217 10 WEB_SITE="http://apr.apache.org"
slaxemulator@6798 11 WGET_URL="http://www.apache.org/dist/apr/$TARBALL"
slaxemulator@6798 12 #WGET_URL="http://apache.crihan.fr/dist/apr/$TARBALL"
pascal@15362 13
pascal@15362 14 DEPENDS="apr expat ncurses readline zlib"
pascal@15362 15 BUILD_DEPENDS="apr-dev unixODBC-dev sqlite-dev postgresql-dev mysql-dev libmysqlclient libpostgresqlclient util-linux-uuid-dev gawk"
erjo@4643 16
erjo@1217 17 # Rules to configure and make the package.
erjo@1217 18 compile_rules()
erjo@1217 19 {
erjo@1217 20 cd $src
erjo@4643 21 ./configure --with-apr=$(apr-1-config --bindir) \
erjo@4643 22 --with-pgsql=/usr \
erjo@4643 23 --with-mysql \
erjo@4643 24 --prefix=/usr \
erjo@4643 25 --infodir=/usr/share/info \
pascal@1458 26 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1458 27 make &&
pascal@12600 28 make DESTDIR=$DESTDIR install
erjo@1217 29 }
erjo@1217 30
erjo@1217 31 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1217 32 genpkg_rules()
erjo@1217 33 {
erjo@1217 34 mkdir -p $fs/usr/lib/apr-util-1
erjo@1217 35
pascal@15362 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15362 37 #cp -a $install/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1
erjo@1217 38 }