wok-next annotate talloc/receipt @ rev 21636

updated f3 (2.2 -> 7.2)
author Hans-G?nter Theisgen
date Fri Jun 26 11:11:30 2020 +0100 (2020-06-26)
parents 7fc972e95a2e
children
rev   line source
al@19850 1 # SliTaz package receipt v2.
gokhlayeh@6993 2
gokhlayeh@6993 3 PACKAGE="talloc"
al@21129 4 VERSION="2.1.15"
gokhlayeh@6993 5 CATEGORY="system-tools"
al@19850 6 SHORT_DESC="Hierarchical pool based memory allocator with destructors"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15600 8 LICENSE="LGPL"
al@19850 9 WEB_SITE="https://talloc.samba.org/talloc/doc/html/index.html"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/talloc.html"
al@19850 11
gokhlayeh@6993 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19850 13 WGET_URL="https://www.samba.org/ftp/talloc/$TARBALL"
al@21129 14 TARBALL_SHA1="17c74ab8612f17ae1ed65751da1335a5a2d93704"
gokhlayeh@6993 15
al@21129 16 BUILD_DEPENDS="python3-dev python-dev docbook-xsl \
al@21129 17 acl-dev zlib-dev libtirpc-dev libnsl-dev libxslt docbook-xsl"
al@21129 18 SPLIT="$PACKAGE-python $PACKAGE-python3 $PACKAGE $PACKAGE-dev"
pascal@15600 19
al@21129 20 COPY_python="python2*/ libpytalloc-util.so*"
al@21129 21 COPY_python3="python3*/ libpytalloc-util.cpython-*"
al@21129 22
al@21129 23 CAT_python="development|Python2 bindings"
al@21129 24 CAT_python3="development|Python3 bindings"
al@21129 25
al@21086 26 DEPENDS_python="$PACKAGE python"
al@21129 27 DEPENDS_python3="$PACKAGE python3"
al@21129 28 DEPENDS_dev="$PACKAGE"
al@21129 29
al@21129 30 SUGGESTED_dev="$PACKAGE-python $PACKAGE-python3"
al@21086 31
al@20647 32 compile_rules() {
al@21129 33 sed -i 's|../../buildtools/bin/waf|buildtools/bin/waf|' Makefile
al@21129 34
al@21129 35 ./configure \
al@21129 36 --prefix=/usr \
al@21129 37 --extra-python=/usr/bin/python2 \
al@21129 38 &&
al@20647 39 make &&
al@20647 40 make install
gokhlayeh@6993 41 }