wok-6.x diff gcolor2/receipt @ rev 19212

airgeddon: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 14 10:00:11 2016 +0200 (2016-06-14)
parents b800f0edb469
children 7e911016a644
line diff
     1.1 --- a/gcolor2/receipt	Sun Aug 11 13:49:06 2013 +0000
     1.2 +++ b/gcolor2/receipt	Tue Jun 14 10:00:11 2016 +0200
     1.3 @@ -9,16 +9,20 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://gcolor2.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +GENERIC_PIXMAPS="no"
     1.8  
     1.9 -DEPENDS="gtk+ xorg-libXdamage"
    1.10 -BUILD_DEPENDS="pkg-config gtk+ gtk+-dev perl-xml-parser file"
    1.11 +DEPENDS="gtk+"
    1.12 +SUGGESTED="xorg-rgb"
    1.13 +BUILD_DEPENDS="gtk+-dev file"
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 -	cd $src
    1.19 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.20 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.21 +	patch -p1 -i $stuff/gcolor2.patch
    1.22 +	cp $stuff/*.po* $src/po
    1.23 +	sed -i 's|@CATALOGS@|ru.gmo|' $src/po/Makefile.in.in
    1.24 +
    1.25 +	./configure $CONFIGURE_ARGS &&
    1.26  	make &&
    1.27  	make DESTDIR=$DESTDIR install
    1.28  }
    1.29 @@ -26,12 +30,7 @@
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -	mkdir -p $fs/usr/share/applications
    1.34 -	cp -a $stuff/gcolor2.desktop $fs/usr/share/applications
    1.35 +	mkdir -p $fs/usr
    1.36  	cp -a $install/usr/bin $fs/usr
    1.37 -	
    1.38 -	cp -a $install/usr/share $fs/usr
    1.39 -	cd $fs/usr/share/pixmaps
    1.40 -	ln -s gcolor2/icon.png gcolor2.png
    1.41  }
    1.42