wok view talloc/receipt @ rev 9894

python-kiwi: fix bdep
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 11:29:00 2011 +0200 (2011-05-17)
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 }