wok-current view talloc/receipt @ rev 12563
Up wireshark (1.6.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 18:48:15 2012 +0200 (2012-04-28) |
parents | 720c4148ff55 |
children | 7655fb6bf8dd |
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-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://talloc.samba.org/"
12 WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL"
13 CROSS="bug: must use --cross-compile and --cross-execute="
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --enable-talloc-compat1 \
22 --hostcc=$HOST_SYSTEM &&
23 make $MAKEFLAGS &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/libtalloc*.so* $fs/usr/lib/
32 ln -sf /usr/lib/libtalloc.so.$VERSION $fs/usr/lib/libtalloc.so.2
33 ln -sf /usr/lib/libtalloc-compat1-$VERSION.so $fs/usr/lib/libtalloc.so.1
34 }