wok-6.x 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 064dbb4a9828
children c34af2cd7b0c
files gummi/receipt hardinfo/receipt mingw32-gcc-c/receipt
line diff
     1.1 --- a/gummi/receipt	Fri Aug 16 08:20:51 2013 +0000
     1.2 +++ b/gummi/receipt	Fri Aug 16 08:40:38 2013 +0000
     1.3 @@ -10,14 +10,14 @@
     1.4  WGET_URL="http://dev.midnightcoding.org/attachments/download/239/$TARBALL"
     1.5  
     1.6  DEPENDS="gtk+ gtksourceview gtkspell poppler"
     1.7 -BUILD_DEPENDS="gtk+-dev gtksourceview-dev gtkspell-dev intltool poppler-dev"
     1.8 +BUILD_DEPENDS="gtk+-dev gtksourceview-dev gtkspell-dev intltool poppler-dev glib"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13  	cd $src
    1.14  	./configure $CONFIGURE_ARGS &&
    1.15 -	make && make install
    1.16 +	make LDFLAGS="-Wl,--copy-dt-needed-entries -lgthread-2.0" && make install
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/hardinfo/receipt	Fri Aug 16 08:20:51 2013 +0000
     2.2 +++ b/hardinfo/receipt	Fri Aug 16 08:40:38 2013 +0000
     2.3 @@ -5,17 +5,18 @@
     2.4  CATEGORY="system-tools"
     2.5  SHORT_DESC="A tool to get hardware informations and perform benchmarks."
     2.6  MAINTAINER="pankso@slitaz.org"
     2.7 -DEPENDS="gtk+ pciutils xorg-libXdamage"
     2.8 -BUILD_DEPENDS="gtk+ gtk+-dev"
     2.9 +LICENSE="GPL2"
    2.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.11  WEB_SITE="http://hardinfo.berlios.de/"
    2.12  WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"
    2.13  
    2.14 +DEPENDS="gtk+ pciutils xorg-libXdamage"
    2.15 +BUILD_DEPENDS="gtk+ gtk+-dev"
    2.16 +
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
    2.20  	cd $src
    2.21 -	export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
    2.22  	while read file; do
    2.23  		[ -f done.$file ] && continue
    2.24  		patch -p0 < $stuff/$file || return 1
    2.25 @@ -27,17 +28,17 @@
    2.26  	./configure \
    2.27  		--prefix=/usr \
    2.28  		$CONFIGURE_ARGS &&
    2.29 -	make &&
    2.30 -	make DESTDIR=$PWD/_pkg install
    2.31 +	make LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" &&
    2.32 +	make DESTDIR=$DESTDIR install
    2.33  }
    2.34  
    2.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.36  genpkg_rules()
    2.37  {
    2.38  	mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
    2.39 -	cp -a $_pkg/usr/bin $fs/usr
    2.40 +	cp -a $install/usr/bin $fs/usr
    2.41  	cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
    2.42 -	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    2.43 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    2.44  	cd $fs/usr/share/pixmaps
    2.45  	rm ../$PACKAGE/pixmaps/logo.xcf
    2.46  	ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
     3.1 --- a/mingw32-gcc-c/receipt	Fri Aug 16 08:20:51 2013 +0000
     3.2 +++ b/mingw32-gcc-c/receipt	Fri Aug 16 08:40:38 2013 +0000
     3.3 @@ -25,6 +25,7 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 +	mkdir -p $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man7 
     3.8  	if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then
     3.9  		echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string"
    3.10  		return 1