wok-6.x view talloc/receipt @ rev 9396
Up: talloc to 2.0.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 26 14:57:15 2011 +0000 (2011-03-26) |
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 }