wok-current diff gc/receipt @ rev 5288

gc: built also libatomic_ops
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 18 14:25:40 2010 +0200 (2010-04-18)
parents b61b574cf78e
children bfd307d23ad0
line diff
     1.1 --- a/gc/receipt	Wed Feb 13 00:25:19 2008 +0100
     1.2 +++ b/gc/receipt	Sun Apr 18 14:25:40 2010 +0200
     1.3 @@ -13,18 +13,28 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	./configure --prefix=/usr --infodir=/usr/share/info \
     1.8 -	--mandir=/usr/share/man $CONFIGURE_ARGS
     1.9 -	make
    1.10 -	make DESTDIR=$PWD/_pkg install
    1.11 +	./configure \
    1.12 +		--prefix=/usr \
    1.13 +		--infodir=/usr/share/info \
    1.14 +		--mandir=/usr/share/man \
    1.15 +		$CONFIGURE_ARGS &&
    1.16 +	make &&
    1.17 +	make DESTDIR=$PWD/_pkg install &&
    1.18 +	# libatomic_ops
    1.19 +	cd $src/libatomic_ops-* &&
    1.20 +	./configure \
    1.21 +		--prefix=/usr \
    1.22 +		--disable-static \
    1.23 +		$CONFIGURE_ARGS &&
    1.24 +	make &&
    1.25 +	make DESTDIR=$src/_pkg install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/usr/lib
    1.32 -	cp -a $_pkg/usr/share $fs/usr
    1.33 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.34 +	cp -a $_pkg/usr/share/gc $fs/usr/share
    1.35  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.36 -	strip --strip-unneeded $fs/usr/lib/*
    1.37  }
    1.38