wok view gc/receipt @ rev 13503

Add libstatgrab (grab system stats)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Oct 13 14:48:12 2012 +0200 (2012-10-13)
parents bfd307d23ad0
children de49f29b101e
line source
1 # SliTaz package receipt.
3 PACKAGE="gc"
4 VERSION="7.2"
5 CATEGORY="development"
6 SHORT_DESC="A garbage collector for C and C++."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
10 WGET_URL="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --enable-cplusplus \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install &&
21 # libatomic_ops
22 cd $src/libatomic_ops-* &&
23 ./configure \
24 --prefix=/usr \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $install/usr/share/gc $fs/usr/share
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }