wok view talloc/receipt @ rev 23699
updated tig (2.4.1 -> 2.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 28 07:55:25 2020 +0100 (2020-04-28) |
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 }