wok-next view gc/receipt @ rev 18562

Up slitaz-tools(957)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Nov 08 22:10:36 2015 +0200 (2015-11-08)
parents e4cda1000ec7
children c4e53a39395a
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 }