wok diff hardinfo/receipt @ rev 15171

gummi: add LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 16 08:40:38 2013 +0000 (2013-08-16)
parents 1ae5963f23df
children a54f561b0931
line diff
     1.1 --- a/hardinfo/receipt	Wed Aug 14 18:02:00 2013 +0000
     1.2 +++ b/hardinfo/receipt	Fri Aug 16 08:40:38 2013 +0000
     1.3 @@ -5,17 +5,18 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="A tool to get hardware informations and perform benchmarks."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="gtk+ pciutils xorg-libXdamage"
     1.8 -BUILD_DEPENDS="gtk+ gtk+-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://hardinfo.berlios.de/"
    1.12  WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"
    1.13  
    1.14 +DEPENDS="gtk+ pciutils xorg-libXdamage"
    1.15 +BUILD_DEPENDS="gtk+ gtk+-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 -	export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
    1.22  	while read file; do
    1.23  		[ -f done.$file ] && continue
    1.24  		patch -p0 < $stuff/$file || return 1
    1.25 @@ -27,17 +28,17 @@
    1.26  	./configure \
    1.27  		--prefix=/usr \
    1.28  		$CONFIGURE_ARGS &&
    1.29 -	make &&
    1.30 -	make DESTDIR=$PWD/_pkg install
    1.31 +	make LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" &&
    1.32 +	make DESTDIR=$DESTDIR install
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
    1.39 -	cp -a $_pkg/usr/bin $fs/usr
    1.40 +	cp -a $install/usr/bin $fs/usr
    1.41  	cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
    1.42 -	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.43 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.44  	cd $fs/usr/share/pixmaps
    1.45  	rm ../$PACKAGE/pixmaps/logo.xcf
    1.46  	ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png