wok-current view gc/receipt @ rev 12676
mpd: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 13:46:30 2012 +0200 (2012-05-01) |
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 }