SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "apr-util"

# SliTaz package receipt.

PACKAGE="apr-util"
VERSION="1.6.3"
CATEGORY="development"
SHORT_DESC="APR Library Utilities."
MAINTAINER="lehswe@gmail.com"
LICENSE="Apache"
WEB_SITE="https://apr.apache.org"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="https://archive.apache.org/dist/apr/$TARBALL"

DEPENDS="apr expat ncurses readline zlib"
BUILD_DEPENDS="apr-dev expat-dev gawk libmysqlclient 
    libpostgresqlclient libtool mysql-dev postgresql-dev 
    sqlite-dev unixODBC-dev util-linux-uuid-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                    \
        --with-apr=$(apr-1-config --bindir)    \
        --with-pgsql=/usr            \
        --with-mysql                \
        --prefix=/usr                \
        --infodir=/usr/share/info        \
        --mandir=/usr/share/man            \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/apr-util-1
    
    cp -a $install/usr/lib/*.so*            $fs/usr/lib
    #cp -a $install/usr/lib/apr-util-1/*.so*    $fs/usr/lib/apr-util-1
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)