wok view gc/receipt @ rev 25108
Fix open-iscsi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 23 20:48:12 2022 +0000 (2022-06-23) |
parents | b569b85b0fb9 |
children | 48dff2952881 |
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="https://www.hboehm.info/gc/gc_source/gc-$VERSION.tar.gz"
12 HOST_ARCH="i486 arm"
14 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - $WEB_SITE/releases 2>/dev/null | \
18 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure \
25 --enable-cplusplus \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install &&
29 # libatomic_ops
30 cd $src/libatomic_ops &&
31 ./configure \
32 --prefix=/usr \
33 --disable-static \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib $fs/usr/share
43 cp -a $install/usr/share/gc $fs/usr/share
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }