wok-current view talloc/receipt @ rev 8737

libsvn: improve depends.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Feb 19 21:38:24 2011 +0100 (2011-02-19)
parents 07ae722ec64e
children 536d4d2ca909
line source
1 # SliTaz package receipt.
3 PACKAGE="talloc"
4 VERSION="2.0.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hierarchical pool based memory allocator with destructors."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="glibc-base"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://talloc.samba.org/"
11 WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --enable-talloc-compat1 \
20 --enable-largefile \
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/*.so* $fs/usr/lib/
31 ln -sf /usr/lib/libtalloc.so.2.0.1 $fs/usr/lib/libtalloc.so.2
32 ln -sf /usr/lib/libtalloc-compat1-2.0.1.so $fs/usr/lib/libtalloc.so.1
33 }