SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "apr"

# SliTaz package receipt.

PACKAGE="apr"
VERSION="1.4.2"
CATEGORY="misc"
SHORT_DESC="Apache Portable Runtime Library"
MAINTAINER="lehswe@gmail.com"
DEPENDS="util-linux-ng-uuid"
BUILD_DEPENDS="util-linux-ng-uuid-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://apr.apache.org"
WGET_URL="http://mir2.ovh.net/ftp.apache.org/dist/$PACKAGE/$TARBALL
 http://apache.crihan.fr/dist/$PACKAGE/$TARBALL"
CROSS="error: cannot check for file existence when cross compiling"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --with-installbuilddir=/usr/share/apr-1/build \
        --enable-nonportable-atomics \
        --with-devrandom \
        --build=$HOST_SYSTEM \
        --host=$HOST_SYSTEM &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/*.exp $fs/usr/lib
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)