wok-current view gc/receipt @ rev 8981

Automated merge with http://hg.slitaz.org/wok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 02 20:58:26 2011 +0100 (2011-03-02)
parents b61b574cf78e
children bfd307d23ad0
line source
1 # SliTaz package receipt.
3 PACKAGE="gc"
4 VERSION="7.0"
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 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install &&
23 # libatomic_ops
24 cd $src/libatomic_ops-* &&
25 ./configure \
26 --prefix=/usr \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$src/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $_pkg/usr/share/gc $fs/usr/share
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 }