wok view gc/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 48dff2952881
children
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="$WEB_SITE/archive/refs/tags/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 '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;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 }