wok-next view talloc/receipt @ rev 21053

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 01 10:24:50 2018 +0200 (2018-12-01)
parents f48456621a9d
children 7fc972e95a2e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="talloc"
4 VERSION="2.1.11"
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"
15 BUILD_DEPENDS="python-dev docbook-xsl"
16 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev"
18 compile_rules() {
19 ./configure --prefix=/usr &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 talloc-python)
27 copy python*/ libpytalloc*
28 CAT="development|Python bindings"
29 DEPENDS="talloc python"
30 ;;
31 talloc)
32 copy @std @rm
33 ;;
34 talloc-dev)
35 copy @dev
36 ;;
37 esac
38 }