# HG changeset patch # User Christophe Lincoln # Date 1201254389 -3600 # Node ID 97e887fa49fd94b1a6ce7e26ef6e72a831dc6a09 # Parent 7f836033741501c91d56c5d4ab132da065743b0e Add : gc - A garbage collector for C and C++ diff -r 7f8360337415 -r 97e887fa49fd gc-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gc-dev/receipt Fri Jan 25 10:46:29 2008 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="gc-dev" +VERSION="7.0" +CATEGORY="devel" +SHORT_DESC="A garbage collector for C and C++ devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="gc" +WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib +} + diff -r 7f8360337415 -r 97e887fa49fd gc/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gc/receipt Fri Jan 25 10:46:29 2008 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="gc" +VERSION="7.0" +CATEGORY="devel" +SHORT_DESC="A garbage collector for C and C++." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/" +WGET_URL="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/share $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + strip --strip-unneeded $fs/usr/lib/* +} +