wok diff mtpaint/receipt @ rev 18351

Rebuild packages that depends on giflib & nettle (ldd fail)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Sep 12 15:52:07 2015 +0200 (2015-09-12)
parents 46683195f95c
children d8b76909ac00
line diff
     1.1 --- a/mtpaint/receipt	Thu Apr 16 02:24:03 2015 +0300
     1.2 +++ b/mtpaint/receipt	Sat Sep 12 15:52:07 2015 +0200
     1.3 @@ -19,6 +19,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	patch -p0 < $stuff/mtpaint.patch
     1.8  	case "$ARCH" in
     1.9  		i?86)
    1.10  			./configure \
    1.11 @@ -38,7 +39,10 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr/share/applications
    1.16 +	mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps $fs/etc/mtpaint
    1.17  	cp -a $install/usr/bin $fs/usr
    1.18 +	install -m755 -oroot -groot $stuff/mtpaint-doc $fs/usr/bin
    1.19  	cp $stuff/*.desktop $fs/usr/share/applications
    1.20 +	cp $src/doc/mtpaint.png $fs/usr/share/pixmaps
    1.21 +	cp $stuff/mtpaintrc $fs/etc/mtpaint
    1.22  }