wok-current view talloc/receipt @ rev 15723

Move from undigest: poppler-qt4-apps varka varka-dev vifm tmux-mem-cpu-load (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 26 13:52:49 2013 +0000 (2013-12-26)
parents 7655fb6bf8dd
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="talloc"
4 VERSION="2.0.7"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hierarchical pool based memory allocator with destructors."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://talloc.samba.org/"
11 WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL"
12 CROSS="bug: must use --cross-compile and --cross-execute="
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="python-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --enable-talloc-compat1 \
24 --hostcc=$HOST_SYSTEM &&
25 make $MAKEFLAGS &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/libtalloc*.so* $fs/usr/lib/
34 ln -sf /usr/lib/libtalloc.so.$VERSION $fs/usr/lib/libtalloc.so.2
35 ln -sf /usr/lib/libtalloc-compat1-$VERSION.so $fs/usr/lib/libtalloc.so.1
36 }