wok-6.x annotate gc/receipt @ rev 21875
gc: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 28 16:04:52 2019 +0200 (2019-09-28) |
parents | 78a46345f6bb |
children | f96e26cdfd7a |
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@21824 | 10 WEB_SITE="https://www.hboehm.info/gc/" |
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 |
pankso@146 | 14 # Rules to configure and make the package. |
pankso@146 | 15 compile_rules() |
pankso@146 | 16 { |
pankso@5288 | 17 ./configure \ |
slaxemulator@11005 | 18 --enable-cplusplus \ |
pankso@5288 | 19 $CONFIGURE_ARGS && |
pankso@5288 | 20 make && |
slaxemulator@11005 | 21 make DESTDIR=$DESTDIR install && |
pankso@5288 | 22 # libatomic_ops |
pascal@21875 | 23 cd $src/libatomic_ops && |
pankso@5288 | 24 ./configure \ |
pankso@5288 | 25 --prefix=/usr \ |
pankso@5288 | 26 --disable-static \ |
pankso@5288 | 27 $CONFIGURE_ARGS && |
pankso@5288 | 28 make && |
slaxemulator@11005 | 29 make DESTDIR=$DESTDIR install |
pankso@146 | 30 } |
pankso@146 | 31 |
pankso@146 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@146 | 33 genpkg_rules() |
pankso@146 | 34 { |
pankso@5288 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@13078 | 36 cp -a $install/usr/share/gc $fs/usr/share |
slaxemulator@13078 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@146 | 38 } |