wok view talloc/receipt @ rev 20870

updated egenix-mx-base (3.1.0 -> 3.2.9)
author Hans-G?nter Theisgen
date Sat Feb 23 14:25:03 2019 +0100 (2019-02-23)
parents de49f29b101e
children 934055de50e2
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="https://talloc.samba.org/talloc/doc/html/index.html"
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 }