wok-6.x view gc/receipt @ rev 15972
Up dropbear (2014.63)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 28 15:13:09 2014 +0000 (2014-02-28) |
parents | d6a795fdb8fa |
children | e4cda1000ec7 |
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --enable-cplusplus \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install &&
22 # libatomic_ops
23 cd $src/libatomic_ops-* &&
24 ./configure \
25 --prefix=/usr \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/share/gc $fs/usr/share
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }