wok view gc/receipt @ rev 17044
Add paulstretch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 19 18:02:31 2014 +0200 (2014-08-19) |
parents | e4cda1000ec7 |
children | 6e8b1bcb30e2 |
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 LICENSE="MIT GPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
11 WGET_URL="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --enable-cplusplus \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR 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=$DESTDIR 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 $install/usr/share/gc $fs/usr/share
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }