wok 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 116ca1384948
children 65fc029b99f2
files gc-dev/receipt gc/receipt
line diff
     1.1 --- a/gc-dev/receipt	Sun Apr 18 11:11:45 2010 +0200
     1.2 +++ b/gc-dev/receipt	Sun Apr 18 14:25:40 2010 +0200
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="gc-dev"
     1.5  VERSION="7.0"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="A garbage collector for C and C++ devel files."
     1.8 +SHORT_DESC="A garbage collector for C and C++ devel files (with libatomic_ops)."
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  WANTED="gc"
    1.11  WEB_SITE="http://www.hpl.hp.com/personal/Hans_Boehm/gc/"
    1.12 @@ -16,4 +16,3 @@
    1.13  	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.14  	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.15  }
    1.16 -
     2.1 --- a/gc/receipt	Sun Apr 18 11:11:45 2010 +0200
     2.2 +++ b/gc/receipt	Sun Apr 18 14:25:40 2010 +0200
     2.3 @@ -13,18 +13,28 @@
     2.4  compile_rules()
     2.5  {
     2.6  	cd $src
     2.7 -	./configure --prefix=/usr --infodir=/usr/share/info \
     2.8 -	--mandir=/usr/share/man $CONFIGURE_ARGS
     2.9 -	make
    2.10 -	make DESTDIR=$PWD/_pkg install
    2.11 +	./configure \
    2.12 +		--prefix=/usr \
    2.13 +		--infodir=/usr/share/info \
    2.14 +		--mandir=/usr/share/man \
    2.15 +		$CONFIGURE_ARGS &&
    2.16 +	make &&
    2.17 +	make DESTDIR=$PWD/_pkg install &&
    2.18 +	# libatomic_ops
    2.19 +	cd $src/libatomic_ops-* &&
    2.20 +	./configure \
    2.21 +		--prefix=/usr \
    2.22 +		--disable-static \
    2.23 +		$CONFIGURE_ARGS &&
    2.24 +	make &&
    2.25 +	make DESTDIR=$src/_pkg install
    2.26  }
    2.27  
    2.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.29  genpkg_rules()
    2.30  {
    2.31 -	mkdir -p $fs/usr/lib
    2.32 -	cp -a $_pkg/usr/share $fs/usr
    2.33 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.34 +	cp -a $_pkg/usr/share/gc $fs/usr/share
    2.35  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.36 -	strip --strip-unneeded $fs/usr/lib/*
    2.37  }
    2.38