wok-current view apr-util/receipt @ rev 25792

Fix openbox menu, label keymap on lxpanel and add miss it translation for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Tue Oct 07 05:55:24 2025 +0000 (3 weeks ago)
parents 3ad63c8fc2f9
children
line source
1 # SliTaz package receipt.
3 PACKAGE="apr-util"
4 VERSION="1.6.3"
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://archive.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 HOST_ARCH="i486 x86_64"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --with-apr=$(apr-1-config --bindir) \
33 --with-pgsql=/usr \
34 --with-mysql \
35 --prefix=/usr \
36 --infodir=/usr/share/info \
37 --mandir=/usr/share/man \
38 $CONFIGURE_ARGS &&
39 make &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib/apr-util-1
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 #cp -a $install/usr/lib/apr-util-1/*.so* $fs/usr/lib/apr-util-1
50 }