wok annotate talloc/receipt @ rev 7153
Made compcache to use linux-modules-headers. This way linux in wok doesn't need to be compiled.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 06 19:22:12 2010 +0000 (2010-11-06) |
parents | |
children | 9cf7ef7c39a6 |
rev | line source |
---|---|
gokhlayeh@6993 | 1 # SliTaz package receipt. |
gokhlayeh@6993 | 2 |
gokhlayeh@6993 | 3 PACKAGE="talloc" |
gokhlayeh@6993 | 4 VERSION="2.0.1" |
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" |
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" |
gokhlayeh@6993 | 12 |
gokhlayeh@6993 | 13 # Rules to configure and make the package. |
gokhlayeh@6993 | 14 compile_rules() |
gokhlayeh@6993 | 15 { |
gokhlayeh@6993 | 16 cd $src |
gokhlayeh@6993 | 17 ./configure \ |
gokhlayeh@6993 | 18 --prefix=/usr \ |
gokhlayeh@6993 | 19 --enable-talloc-compat1 \ |
gokhlayeh@6993 | 20 --enable-largefile \ |
gokhlayeh@6993 | 21 $CONFIGURE_ARGS && |
gokhlayeh@6993 | 22 make -j 4 && |
gokhlayeh@6993 | 23 make DESTDIR=$PWD/_pkg install |
gokhlayeh@6993 | 24 } |
gokhlayeh@6993 | 25 |
gokhlayeh@6993 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6993 | 27 genpkg_rules() |
gokhlayeh@6993 | 28 { |
gokhlayeh@6993 | 29 mkdir -p $fs/usr/lib |
gokhlayeh@6993 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib/ |
gokhlayeh@6993 | 31 } |