wok-4.x annotate gc/receipt @ rev 11044

Up: usbutils to 004.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 16 08:02:37 2011 +0000 (2011-10-16)
parents 5be7252f0e4b
children
rev   line source
pankso@146 1 # SliTaz package receipt.
pankso@146 2
pankso@146 3 PACKAGE="gc"
slaxemulator@11005 4 VERSION="7.1"
pankso@200 5 CATEGORY="development"
pankso@146 6 SHORT_DESC="A garbage collector for C and C++."
pankso@146 7 MAINTAINER="pankso@slitaz.org"
pankso@146 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@146 9 WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
pankso@146 10 WGET_URL="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$TARBALL"
pankso@146 11
pankso@146 12 # Rules to configure and make the package.
pankso@146 13 compile_rules()
pankso@146 14 {
pankso@146 15 cd $src
pankso@5288 16 ./configure \
slaxemulator@11005 17 --enable-cplusplus \
pankso@5288 18 $CONFIGURE_ARGS &&
pankso@5288 19 make &&
slaxemulator@11005 20 make DESTDIR=$DESTDIR install &&
pankso@5288 21 # libatomic_ops
pankso@5288 22 cd $src/libatomic_ops-* &&
pankso@5288 23 ./configure \
pankso@5288 24 --prefix=/usr \
pankso@5288 25 --disable-static \
pankso@5288 26 $CONFIGURE_ARGS &&
pankso@5288 27 make &&
slaxemulator@11005 28 make DESTDIR=$DESTDIR install
pankso@146 29 }
pankso@146 30
pankso@146 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@146 32 genpkg_rules()
pankso@146 33 {
pankso@5288 34 mkdir -p $fs/usr/lib $fs/usr/share
pankso@5288 35 cp -a $_pkg/usr/share/gc $fs/usr/share
pankso@146 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@146 37 }
pankso@146 38