wok-6.x annotate talloc/receipt @ rev 15965
xorg-libXau: add to ARM arch
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Feb 24 15:44:41 2014 +0100 (2014-02-24) |
parents | 7655fb6bf8dd |
children | 6135577f4d08 |
rev | line source |
---|---|
gokhlayeh@6993 | 1 # SliTaz package receipt. |
gokhlayeh@6993 | 2 |
gokhlayeh@6993 | 3 PACKAGE="talloc" |
slaxemulator@13267 | 4 VERSION="2.0.7" |
gokhlayeh@6993 | 5 CATEGORY="system-tools" |
gokhlayeh@6993 | 6 SHORT_DESC="Hierarchical pool based memory allocator with destructors." |
slaxemulator@13267 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15600 | 8 LICENSE="LGPL" |
gokhlayeh@6993 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@6993 | 10 WEB_SITE="http://talloc.samba.org/" |
gokhlayeh@6993 | 11 WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL" |
pankso@10362 | 12 CROSS="bug: must use --cross-compile and --cross-execute=" |
gokhlayeh@6993 | 13 |
pascal@15600 | 14 DEPENDS="glibc-base" |
pascal@15600 | 15 BUILD_DEPENDS="python-dev" |
pascal@15600 | 16 |
gokhlayeh@6993 | 17 # Rules to configure and make the package. |
gokhlayeh@6993 | 18 compile_rules() |
gokhlayeh@6993 | 19 { |
gokhlayeh@6993 | 20 cd $src |
gokhlayeh@6993 | 21 ./configure \ |
gokhlayeh@6993 | 22 --prefix=/usr \ |
gokhlayeh@6993 | 23 --enable-talloc-compat1 \ |
pankso@10362 | 24 --hostcc=$HOST_SYSTEM && |
gokhlayeh@11574 | 25 make $MAKEFLAGS && |
slaxemulator@13267 | 26 make DESTDIR=$DESTDIR install |
gokhlayeh@6993 | 27 } |
gokhlayeh@6993 | 28 |
gokhlayeh@6993 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6993 | 30 genpkg_rules() |
gokhlayeh@6993 | 31 { |
gokhlayeh@6993 | 32 mkdir -p $fs/usr/lib |
slaxemulator@13267 | 33 cp -a $install/usr/lib/libtalloc*.so* $fs/usr/lib/ |
slaxemulator@9396 | 34 ln -sf /usr/lib/libtalloc.so.$VERSION $fs/usr/lib/libtalloc.so.2 |
slaxemulator@9396 | 35 ln -sf /usr/lib/libtalloc-compat1-$VERSION.so $fs/usr/lib/libtalloc.so.1 |
gokhlayeh@6993 | 36 } |