wok-6.x view gc/receipt @ rev 24016
Up tazinst (113)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 12:03:41 2021 +0000 (2021-02-25) |
parents | 2e43f9923d01 |
children | b569b85b0fb9 |
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="https://github.com/ivmai/bdwgc/"
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 ./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 }