wok-current annotate gc/receipt @ rev 9122
glibc: force status in compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 17:12:18 2011 +0100 (2011-03-05) |
parents | b61b574cf78e |
children | bfd307d23ad0 |
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@5288 | 16 ./configure \ |
pankso@5288 | 17 --prefix=/usr \ |
pankso@5288 | 18 --infodir=/usr/share/info \ |
pankso@5288 | 19 --mandir=/usr/share/man \ |
pankso@5288 | 20 $CONFIGURE_ARGS && |
pankso@5288 | 21 make && |
pankso@5288 | 22 make DESTDIR=$PWD/_pkg install && |
pankso@5288 | 23 # libatomic_ops |
pankso@5288 | 24 cd $src/libatomic_ops-* && |
pankso@5288 | 25 ./configure \ |
pankso@5288 | 26 --prefix=/usr \ |
pankso@5288 | 27 --disable-static \ |
pankso@5288 | 28 $CONFIGURE_ARGS && |
pankso@5288 | 29 make && |
pankso@5288 | 30 make DESTDIR=$src/_pkg install |
pankso@146 | 31 } |
pankso@146 | 32 |
pankso@146 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@146 | 34 genpkg_rules() |
pankso@146 | 35 { |
pankso@5288 | 36 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@5288 | 37 cp -a $_pkg/usr/share/gc $fs/usr/share |
pankso@146 | 38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@146 | 39 } |
pankso@146 | 40 |