wok annotate apr-util/receipt @ rev 24825
updated libsdl2-ttf and libsdl2-ttf-dev (2.0.15 -> 2.0.18)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 17:04:32 2022 +0100 (2022-03-23) |
parents | f4cb7c6f97ac |
children | bd7510903310 |
rev | line source |
---|---|
erjo@1217 | 1 # SliTaz package receipt. |
erjo@1217 | 2 |
erjo@1217 | 3 PACKAGE="apr-util" |
Hans-G?nter@22492 | 4 VERSION="1.6.1" |
pascal@1423 | 5 CATEGORY="development" |
Hans-G?nter@22492 | 6 SHORT_DESC="APR Library Utilities." |
erjo@1217 | 7 MAINTAINER="lehswe@gmail.com" |
pascal@15362 | 8 LICENSE="Apache" |
Hans-G?nter@22492 | 9 WEB_SITE="https://apr.apache.org" |
Hans-G?nter@22492 | 10 |
slaxemulator@6798 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@6798 | 12 WGET_URL="http://www.apache.org/dist/apr/$TARBALL" |
pascal@15362 | 13 |
pascal@15362 | 14 DEPENDS="apr expat ncurses readline zlib" |
Hans-G?nter@22492 | 15 BUILD_DEPENDS="apr-dev expat-dev gawk libmysqlclient |
Hans-G?nter@22492 | 16 libpostgresqlclient libtool mysql-dev postgresql-dev |
Hans-G?nter@22492 | 17 sqlite-dev unixODBC-dev util-linux-uuid-dev" |
Hans-G?nter@22492 | 18 |
pascal@24373 | 19 # What is the latest version available today? |
pascal@24373 | 20 current_version() |
pascal@24373 | 21 { |
pascal@24373 | 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24373 | 23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24373 | 24 } |
pascal@24373 | 25 |
erjo@1217 | 26 # Rules to configure and make the package. |
erjo@1217 | 27 compile_rules() |
erjo@1217 | 28 { |
Hans-G?nter@22492 | 29 ./configure \ |
Hans-G?nter@22492 | 30 --with-apr=$(apr-1-config --bindir) \ |
Hans-G?nter@22492 | 31 --with-pgsql=/usr \ |
Hans-G?nter@22492 | 32 --with-mysql \ |
Hans-G?nter@22492 | 33 --prefix=/usr \ |
Hans-G?nter@22492 | 34 --infodir=/usr/share/info \ |
Hans-G?nter@22492 | 35 --mandir=/usr/share/man \ |
Hans-G?nter@22492 | 36 $CONFIGURE_ARGS && |
pascal@1458 | 37 make && |
pascal@12600 | 38 make DESTDIR=$DESTDIR install |
erjo@1217 | 39 } |
erjo@1217 | 40 |
erjo@1217 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1217 | 42 genpkg_rules() |
erjo@1217 | 43 { |
erjo@1217 | 44 mkdir -p $fs/usr/lib/apr-util-1 |
erjo@1217 | 45 |
Hans-G?nter@22492 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22492 | 47 #cp -a $install/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1 |
erjo@1217 | 48 } |