wok-next view talloc/receipt @ rev 19925

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
parents de49f29b101e
children d43bf7aae921
line source
1 # SliTaz package receipt v2.
3 PACKAGE="talloc"
4 VERSION="2.1.10"
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.samba.org/ftp/talloc/$TARBALL"
14 BUILD_DEPENDS="python-dev docbook-xsl"
15 SPLIT="talloc-python talloc talloc-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/stable/general/talloc.html
22 ./configure --prefix=/usr && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 talloc-python)
30 copy python*/ libpytalloc*
31 CAT="development|Python bindings"
32 DEPENDS="talloc attr python"
33 ;;
34 talloc)
35 copy @std
36 remove_already_packed
37 DEPENDS="attr"
38 ;;
39 talloc-dev)
40 copy @dev
41 ;;
42 esac
43 }