wok-next annotate talloc/receipt @ rev 20992
eduke32: simplify bdeps, fix build for i486
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Oct 04 11:45:29 2018 +0300 (2018-10-04) |
parents | d43bf7aae921 |
children | f48456621a9d |
rev | line source |
---|---|
al@19850 | 1 # SliTaz package receipt v2. |
gokhlayeh@6993 | 2 |
gokhlayeh@6993 | 3 PACKAGE="talloc" |
al@20647 | 4 VERSION="2.1.11" |
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@20647 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/talloc.html" |
al@19850 | 11 |
gokhlayeh@6993 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19850 | 13 WGET_URL="https://www.samba.org/ftp/talloc/$TARBALL" |
gokhlayeh@6993 | 14 |
al@19850 | 15 BUILD_DEPENDS="python-dev docbook-xsl" |
al@19850 | 16 SPLIT="talloc-python talloc talloc-dev" |
pascal@15600 | 17 |
al@20647 | 18 compile_rules() { |
al@20647 | 19 ./configure --prefix=/usr && |
al@20647 | 20 make && |
al@20647 | 21 make install |
gokhlayeh@6993 | 22 } |
gokhlayeh@6993 | 23 |
al@20647 | 24 genpkg_rules() { |
al@19850 | 25 case $PACKAGE in |
al@19850 | 26 talloc-python) |
al@19850 | 27 copy python*/ libpytalloc* |
al@19850 | 28 CAT="development|Python bindings" |
al@20647 | 29 DEPENDS="talloc python" |
al@19850 | 30 ;; |
al@19850 | 31 talloc) |
al@20513 | 32 copy @std @rm |
al@19850 | 33 ;; |
al@19850 | 34 talloc-dev) |
al@19850 | 35 copy @dev |
al@19850 | 36 ;; |
al@19850 | 37 esac |
gokhlayeh@6993 | 38 } |