wok view talloc/receipt @ rev 15992

lighttpd: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 14:27:39 2014 +0100 (2014-03-02)
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 }