wok-6.x view gc/receipt @ rev 12820
glibc-base: improve receipt for ARM and cross-compilation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 21 23:48:44 2012 +0200 (2012-05-21) |
parents | 5be7252f0e4b |
children | d6a795fdb8fa |
line source
1 # SliTaz package receipt.
3 PACKAGE="gc"
4 VERSION="7.1"
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 $_pkg/usr/share/gc $fs/usr/share
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 }