wok view gc/receipt @ rev 15026

sylpheed: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 22:07:47 2013 +0000 (2013-08-11)
parents bfd307d23ad0
children de49f29b101e
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 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 $install/usr/share/gc $fs/usr/share
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }