wok rev 22818

gtk-gnutella: add wrapper
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 05 11:21:36 2020 +0100 (2020-02-05)
parents 04873d2f5f91
children fab080cdb380
files gtk-gnutella/receipt gtkglext-dev/receipt gtkglext/receipt
line diff
     1.1 --- a/gtk-gnutella/receipt	Tue Feb 04 18:51:57 2020 +0100
     1.2 +++ b/gtk-gnutella/receipt	Wed Feb 05 11:21:36 2020 +0100
     1.3 @@ -19,7 +19,6 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8  	./build.sh --prefix=/usr \
     1.9  	--disable-dbus \
    1.10  	--disable-nls &&
    1.11 @@ -33,9 +32,13 @@
    1.12  	mkdir -p $fs/usr/share/applications
    1.13  	mkdir -p $fs/usr/share/pixmaps
    1.14  	mkdir -p $fs/usr/share/gtk-gnutella/pixmaps
    1.15 -	cp -a $install/usr/bin/* $fs/usr/bin
    1.16 +	cp -a $install/usr/bin/gtk-gnutella $fs/usr/bin/gtk-gnutella.bin
    1.17 +	cat > $fs/usr/bin/gtk-gnutella <<EOT
    1.18 +#!/bin/sh
    1.19 +G_SLICE=always_malloc /usr/bin/gtk-gnutella.bin
    1.20 +EOT
    1.21 +	chmod 755 $fs/usr/bin/gtk-gnutella
    1.22  	cp -a $install/usr/share/applications/* $fs/usr/share/applications/
    1.23  	cp -a $install/usr/share/pixmaps/* $fs/usr/share/pixmaps
    1.24  	cp -a $install/usr/share/gtk-gnutella/pixmaps/* $fs/usr/share/gtk-gnutella/pixmaps/
    1.25  }
    1.26 -
     2.1 --- a/gtkglext-dev/receipt	Tue Feb 04 18:51:57 2020 +0100
     2.2 +++ b/gtkglext-dev/receipt	Wed Feb 05 11:21:36 2020 +0100
     2.3 @@ -6,7 +6,7 @@
     2.4  SHORT_DESC="The gtkglext devel files."
     2.5  MAINTAINER="pankso@slitaz.org"
     2.6  LICENSE="GPL2"
     2.7 -WEB_SITE="http://gtkglext.sourceforge.net/"
     2.8 +WEB_SITE="https://web.archive.org/web/20190521002311/https://projects-old.gnome.org/gtkglext/"
     2.9  WANTED="gtkglext"
    2.10  
    2.11  DEPENDS="gtkglext pkg-config pangox-compat-dev"
     3.1 --- a/gtkglext/receipt	Tue Feb 04 18:51:57 2020 +0100
     3.2 +++ b/gtkglext/receipt	Wed Feb 05 11:21:36 2020 +0100
     3.3 @@ -7,7 +7,7 @@
     3.4  MAINTAINER="pankso@slitaz.org"
     3.5  LICENSE="GPL2"
     3.6  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     3.7 -WEB_SITE="http://gtkglext.sourceforge.net/"
     3.8 +WEB_SITE="https://web.archive.org/web/20190521002311/https://projects-old.gnome.org/gtkglext/"
     3.9  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.10  SUGGESTED="nvidia"
    3.11