wok-6.x diff chemtool/receipt @ rev 14527

Add ufiformat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 18 00:21:47 2013 +0200 (2013-05-18)
parents 4f527a2114bf
children 00c51b3a010b
line diff
     1.1 --- a/chemtool/receipt	Thu Mar 08 11:44:26 2012 -0800
     1.2 +++ b/chemtool/receipt	Sat May 18 00:21:47 2013 +0200
     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.