# 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 }