wok-next annotate 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
rev   line source
al@19850 1 # SliTaz package receipt v2.
gokhlayeh@6993 2
gokhlayeh@6993 3 PACKAGE="talloc"
al@19850 4 VERSION="2.1.10"
gokhlayeh@6993 5 CATEGORY="system-tools"
al@19850 6 SHORT_DESC="Hierarchical pool based memory allocator with destructors"
slaxemulator@13267 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15600 8 LICENSE="LGPL"
al@19850 9 WEB_SITE="https://talloc.samba.org/talloc/doc/html/index.html"
al@19850 10
gokhlayeh@6993 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19850 12 WGET_URL="https://www.samba.org/ftp/talloc/$TARBALL"
gokhlayeh@6993 13
al@19850 14 BUILD_DEPENDS="python-dev docbook-xsl"
al@19850 15 SPLIT="talloc-python talloc talloc-dev"
pascal@15600 16
gokhlayeh@6993 17 # Rules to configure and make the package.
gokhlayeh@6993 18 compile_rules()
gokhlayeh@6993 19 {
al@19850 20 # http://www.linuxfromscratch.org/blfs/view/stable/general/talloc.html
al@19850 21
al@19850 22 ./configure --prefix=/usr && make && make install
gokhlayeh@6993 23 }
gokhlayeh@6993 24
gokhlayeh@6993 25 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@6993 26 genpkg_rules()
gokhlayeh@6993 27 {
al@19850 28 case $PACKAGE in
al@19850 29 talloc-python)
al@19850 30 copy python*/ libpytalloc*
al@19850 31 CAT="development|Python bindings"
al@19850 32 DEPENDS="talloc attr python"
al@19850 33 ;;
al@19850 34 talloc)
al@19850 35 copy @std
al@19850 36 remove_already_packed
al@19850 37 DEPENDS="attr"
al@19850 38 ;;
al@19850 39 talloc-dev)
al@19850 40 copy @dev
al@19850 41 ;;
al@19850 42 esac
gokhlayeh@6993 43 }