# SliTaz package receipt. PACKAGE="gc" VERSION="7.1" CATEGORY="development" 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 \ --enable-cplusplus \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install && # libatomic_ops cd $src/libatomic_ops-* && ./configure \ --prefix=/usr \ --disable-static \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share cp -a $_pkg/usr/share/gc $fs/usr/share cp -a $_pkg/usr/lib/*.so* $fs/usr/lib }