wok-current view talloc/receipt @ rev 9569

Up: xorg-xkeyboard-config to 2.2.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Apr 11 23:11:08 2011 +0000 (2011-04-11)
parents 9cf7ef7c39a6
children 720c4148ff55
line source
1 # SliTaz package receipt.
3 PACKAGE="talloc"
4 VERSION="2.0.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hierarchical pool based memory allocator with destructors."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="python"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://talloc.samba.org/"
12 WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --enable-talloc-compat1 \
21 $CONFIGURE_ARGS &&
22 make -j 4 &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/libtalloc*.so* $fs/usr/lib/
31 ln -sf /usr/lib/libtalloc.so.$VERSION $fs/usr/lib/libtalloc.so.2
32 ln -sf /usr/lib/libtalloc-compat1-$VERSION.so $fs/usr/lib/libtalloc.so.1
33 }