wok-next view talloc/receipt @ rev 21216
barnyard2: added dependency automake
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 07:50:26 2019 +0100 (2019-12-03) |
parents | 7fc972e95a2e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="talloc"
4 VERSION="2.1.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hierarchical pool based memory allocator with destructors"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://talloc.samba.org/talloc/doc/html/index.html"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/talloc.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://www.samba.org/ftp/talloc/$TARBALL"
14 TARBALL_SHA1="17c74ab8612f17ae1ed65751da1335a5a2d93704"
16 BUILD_DEPENDS="python3-dev python-dev docbook-xsl \
17 acl-dev zlib-dev libtirpc-dev libnsl-dev libxslt docbook-xsl"
18 SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE $PACKAGE-dev"
20 COPY_python="python2*/ libpytalloc-util.so*"
21 COPY_python3="python3*/ libpytalloc-util.cpython-*"
23 CAT_python="development|Python2 bindings"
24 CAT_python3="development|Python3 bindings"
26 DEPENDS_python="$PACKAGE python"
27 DEPENDS_python3="$PACKAGE python3"
28 DEPENDS_dev="$PACKAGE"
30 SUGGESTED_dev="$PACKAGE-python $PACKAGE-python3"
32 compile_rules() {
33 sed -i 's|../../buildtools/bin/waf|buildtools/bin/waf|' Makefile
35 ./configure \
36 --prefix=/usr \
37 --extra-python=/usr/bin/python2 \
38 &&
39 make &&
40 make install
41 }