wok-6.x annotate talloc/receipt @ rev 12157
Up: slitaz-base-files (4.4.1) - Now include httphelper, calc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 17 14:21:12 2012 +0100 (2012-03-17) |
parents | 720c4148ff55 |
children | 7655fb6bf8dd |
rev | line source |
---|---|
gokhlayeh@6993 | 1 # SliTaz package receipt. |
gokhlayeh@6993 | 2 |
gokhlayeh@6993 | 3 PACKAGE="talloc" |
slaxemulator@9396 | 4 VERSION="2.0.5" |
gokhlayeh@6993 | 5 CATEGORY="system-tools" |
gokhlayeh@6993 | 6 SHORT_DESC="Hierarchical pool based memory allocator with destructors." |
gokhlayeh@6993 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@6993 | 8 DEPENDS="glibc-base" |
pankso@10362 | 9 BUILD_DEPENDS="python-dev" |
gokhlayeh@6993 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@6993 | 11 WEB_SITE="http://talloc.samba.org/" |
gokhlayeh@6993 | 12 WGET_URL="http://samba.org/ftp/$PACKAGE/$TARBALL" |
pankso@10362 | 13 CROSS="bug: must use --cross-compile and --cross-execute=" |
gokhlayeh@6993 | 14 |
gokhlayeh@6993 | 15 # Rules to configure and make the package. |
gokhlayeh@6993 | 16 compile_rules() |
gokhlayeh@6993 | 17 { |
gokhlayeh@6993 | 18 cd $src |
gokhlayeh@6993 | 19 ./configure \ |
gokhlayeh@6993 | 20 --prefix=/usr \ |
gokhlayeh@6993 | 21 --enable-talloc-compat1 \ |
pankso@10362 | 22 --hostcc=$HOST_SYSTEM && |
gokhlayeh@11574 | 23 make $MAKEFLAGS && |
gokhlayeh@6993 | 24 make DESTDIR=$PWD/_pkg install |
gokhlayeh@6993 | 25 } |
gokhlayeh@6993 | 26 |
gokhlayeh@6993 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6993 | 28 genpkg_rules() |
gokhlayeh@6993 | 29 { |
gokhlayeh@6993 | 30 mkdir -p $fs/usr/lib |
slaxemulator@9396 | 31 cp -a $_pkg/usr/lib/libtalloc*.so* $fs/usr/lib/ |
slaxemulator@9396 | 32 ln -sf /usr/lib/libtalloc.so.$VERSION $fs/usr/lib/libtalloc.so.2 |
slaxemulator@9396 | 33 ln -sf /usr/lib/libtalloc-compat1-$VERSION.so $fs/usr/lib/libtalloc.so.1 |
gokhlayeh@6993 | 34 } |