SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "talloc"

# SliTaz package receipt.

PACKAGE="talloc"
VERSION="2.0.5"
CATEGORY="system-tools"
SHORT_DESC="Hierarchical pool based memory allocator with destructors."
MAINTAINER="gokhlayeh@slitaz.org"
DEPENDS="glibc-base"
BUILD_DEPENDS="python-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://talloc.samba.org/"
WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL"
CROSS="bug: must use --cross-compile and --cross-execute="

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --enable-talloc-compat1 \
        --hostcc=$HOST_SYSTEM &&
    make $MAKEFLAGS &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/libtalloc*.so* $fs/usr/lib/
    ln -sf /usr/lib/libtalloc.so.$VERSION $fs/usr/lib/libtalloc.so.2
    ln -sf /usr/lib/libtalloc-compat1-$VERSION.so $fs/usr/lib/libtalloc.so.1
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)