wok-6.x view gc/receipt @ rev 23063

lxpanel-dev: add some private files to build waterline-plugin-multiload
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 08 16:20:08 2020 +0100 (2020-03-08)
parents 78a46345f6bb
children f96e26cdfd7a
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://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 ./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 }