wok-current rev 13829

chemtool: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 07 11:59:55 2013 +0100 (2013-01-07)
parents ded01e3a36b7
children 08318790553b
files chemtool/receipt
line diff
     1.1 --- a/chemtool/receipt	Mon Jan 07 11:36:36 2013 +0100
     1.2 +++ b/chemtool/receipt	Mon Jan 07 11:59:55 2013 +0100
     1.3 @@ -15,10 +15,11 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
     1.8  	cd $src
     1.9  	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.10  	make &&
    1.11 -	make DESTDIR=$PWD/_pkg install
    1.12 +	make DESTDIR=$DESTDIR install
    1.13  }
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 @@ -29,10 +30,10 @@
    1.17  	$fs/usr/share/examples/chemtool 
    1.18  	
    1.19  	# Binary file.
    1.20 -	cp -a $_pkg/usr/bin $fs/usr
    1.21 +	cp -a $install/usr/bin $fs/usr
    1.22  	
    1.23  	# French locale, pixmap and menu.
    1.24 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.25 +	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    1.26  	cp -a $src/gnome/chemtool.png $fs/usr/share/pixmaps
    1.27  	
    1.28  	# Examples.