wok-next view talloc/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 1ff723a6455b
children d5aab818505e
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="slaxemulator@gmail.com"
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="talloc-python talloc talloc-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 }