wok-current annotate gc/receipt @ rev 24804

updated liblouis and liblouis-dev (3.13.0 -> 3.21.0)
author Hans-G?nter Theisgen
date Tue Mar 22 10:57:54 2022 +0100 (2022-03-22)
parents f96e26cdfd7a
children 00e3b45c063b
rev   line source
pankso@146 1 # SliTaz package receipt.
pankso@146 2
pankso@146 3 PACKAGE="gc"
slaxemulator@13078 4 VERSION="7.2"
pankso@200 5 CATEGORY="development"
pankso@146 6 SHORT_DESC="A garbage collector for C and C++."
pankso@146 7 MAINTAINER="pankso@slitaz.org"
pascal@15600 8 LICENSE="MIT GPL"
pankso@146 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@24308 10 WEB_SITE="https://github.com/ivmai/bdwgc"
pankso@146 11 WGET_URL="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$TARBALL"
pascal@16049 12 HOST_ARCH="i486 arm"
pankso@146 13
pascal@24308 14 # What is the latest version available today?
pascal@24308 15 current_version()
pascal@24308 16 {
pascal@24308 17 wget -O - $WEB_SITE/releases 2>/dev/null | \
pascal@24308 18 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
pascal@24308 19 }
pascal@24308 20
pankso@146 21 # Rules to configure and make the package.
pankso@146 22 compile_rules()
pankso@146 23 {
pankso@5288 24 ./configure \
slaxemulator@11005 25 --enable-cplusplus \
pankso@5288 26 $CONFIGURE_ARGS &&
pankso@5288 27 make &&
slaxemulator@11005 28 make DESTDIR=$DESTDIR install &&
pankso@5288 29 # libatomic_ops
pascal@21875 30 cd $src/libatomic_ops &&
pankso@5288 31 ./configure \
pankso@5288 32 --prefix=/usr \
pankso@5288 33 --disable-static \
pankso@5288 34 $CONFIGURE_ARGS &&
pankso@5288 35 make &&
slaxemulator@11005 36 make DESTDIR=$DESTDIR install
pankso@146 37 }
pankso@146 38
pankso@146 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@146 40 genpkg_rules()
pankso@146 41 {
pankso@5288 42 mkdir -p $fs/usr/lib $fs/usr/share
slaxemulator@13078 43 cp -a $install/usr/share/gc $fs/usr/share
slaxemulator@13078 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@146 45 }