wok-current view gc/receipt @ rev 21732

puzzles: 20190419 replaced by 20190415
author Hans-G?nter Theisgen
date Thu Jun 13 13:21:25 2019 +0100 (2019-06-13)
parents c3ad9b49925b
children 78a46345f6bb
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.hboehm.info/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 }