# HG changeset patch # User Pascal Bellard # Date 1376642438 0 # Node ID 036b997ec7e160eaadd80fd24adeb67c0e6736d9 # Parent 064dbb4a9828625a79c3211d61ef0822cdad9f44 gummi: add LDFLAGS diff -r 064dbb4a9828 -r 036b997ec7e1 gummi/receipt --- a/gummi/receipt Fri Aug 16 08:20:51 2013 +0000 +++ b/gummi/receipt Fri Aug 16 08:40:38 2013 +0000 @@ -10,14 +10,14 @@ WGET_URL="http://dev.midnightcoding.org/attachments/download/239/$TARBALL" DEPENDS="gtk+ gtksourceview gtkspell poppler" -BUILD_DEPENDS="gtk+-dev gtksourceview-dev gtkspell-dev intltool poppler-dev" +BUILD_DEPENDS="gtk+-dev gtksourceview-dev gtkspell-dev intltool poppler-dev glib" # Rules to configure and make the package. compile_rules() { cd $src ./configure $CONFIGURE_ARGS && - make && make install + make LDFLAGS="-Wl,--copy-dt-needed-entries -lgthread-2.0" && make install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r 064dbb4a9828 -r 036b997ec7e1 hardinfo/receipt --- a/hardinfo/receipt Fri Aug 16 08:20:51 2013 +0000 +++ b/hardinfo/receipt Fri Aug 16 08:40:38 2013 +0000 @@ -5,17 +5,18 @@ CATEGORY="system-tools" SHORT_DESC="A tool to get hardware informations and perform benchmarks." MAINTAINER="pankso@slitaz.org" -DEPENDS="gtk+ pciutils xorg-libXdamage" -BUILD_DEPENDS="gtk+ gtk+-dev" +LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://hardinfo.berlios.de/" WGET_URL="http://download.berlios.de/hardinfo/$TARBALL" +DEPENDS="gtk+ pciutils xorg-libXdamage" +BUILD_DEPENDS="gtk+ gtk+-dev" + # Rules to configure and make the package. compile_rules() { cd $src - export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule" while read file; do [ -f done.$file ] && continue patch -p0 < $stuff/$file || return 1 @@ -27,17 +28,17 @@ ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install + make LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule-2.0" && + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps - cp -a $_pkg/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules - cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share + cp -a $install/usr/share/$PACKAGE $fs/usr/share cd $fs/usr/share/pixmaps rm ../$PACKAGE/pixmaps/logo.xcf ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png diff -r 064dbb4a9828 -r 036b997ec7e1 mingw32-gcc-c/receipt --- a/mingw32-gcc-c/receipt Fri Aug 16 08:20:51 2013 +0000 +++ b/mingw32-gcc-c/receipt Fri Aug 16 08:40:38 2013 +0000 @@ -25,6 +25,7 @@ # Rules to configure and make the package. compile_rules() { + mkdir -p $DESTDIR/usr/share/man/man1 $DESTDIR/usr/share/man/man7 if [ "$MINGW32_ID" != "$MINGW32_TARGET" ] ; then echo "ERROR: Conf 'TARGET' string differs from Receipt 'ID' string" return 1