wok-6.x annotate gc/receipt @ rev 1245

perdition: describe known bugs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 12 07:24:16 2008 +0000 (2008-08-12)
parents 97e887fa49fd
children 5be7252f0e4b
rev   line source
pankso@146 1 # SliTaz package receipt.
pankso@146 2
pankso@146 3 PACKAGE="gc"
pankso@146 4 VERSION="7.0"
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@146 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@146 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@146 18 make
pankso@146 19 make DESTDIR=$PWD/_pkg install
pankso@146 20 }
pankso@146 21
pankso@146 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@146 23 genpkg_rules()
pankso@146 24 {
pankso@146 25 mkdir -p $fs/usr/lib
pankso@146 26 cp -a $_pkg/usr/share $fs/usr
pankso@146 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@146 28 strip --strip-unneeded $fs/usr/lib/*
pankso@146 29 }
pankso@146 30