wok view gc/receipt @ rev 24831
updated libsndfile and libsndfile-dev (1.0.28 -> 1.0.31)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 24 07:19:38 2022 +0100 (2022-03-24) |
parents | f96e26cdfd7a |
children | 00e3b45c063b |
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 # 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 }