wok-6.x view apr-util/receipt @ rev 24982
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 13:06:36 2022 +0000 (2022-05-08) |
parents | 9af0e03b8ad0 |
children | 000946205748 |
line source
1 # SliTaz package receipt.
3 PACKAGE="apr-util"
4 VERSION="1.6.1"
5 CATEGORY="development"
6 SHORT_DESC="APR Library Utilities."
7 MAINTAINER="lehswe@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://apr.apache.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.apache.org/dist/apr/$TARBALL"
14 DEPENDS="apr expat ncurses readline zlib"
15 BUILD_DEPENDS="apr-dev expat-dev gawk libmysqlclient
16 libpostgresqlclient libtool mysql-dev postgresql-dev
17 sqlite-dev unixODBC-dev util-linux-uuid-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --with-apr=$(apr-1-config --bindir) \
31 --with-pgsql=/usr \
32 --with-mysql \
33 --prefix=/usr \
34 --infodir=/usr/share/info \
35 --mandir=/usr/share/man \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/apr-util-1
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 #cp -a $install/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1
48 }