wok-next view talloc/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 2e9df1b30cc2
children 1ff723a6455b
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 @rm
36 DEPENDS="attr"
37 ;;
38 talloc-dev)
39 copy @dev
40 ;;
41 esac
42 }