wok rev 17382

leafpad: move icon from pixmaps to icons
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Nov 27 01:38:49 2014 +0200 (2014-11-27)
parents 558a9a009ca6
children b3feed552691
files leafpad/receipt
line diff
     1.1 --- a/leafpad/receipt	Wed Nov 26 14:59:55 2014 +0100
     1.2 +++ b/leafpad/receipt	Thu Nov 27 01:38:49 2014 +0200
     1.3 @@ -10,6 +10,7 @@
     1.4  WEB_SITE="http://tarot.freeshell.org/leafpad/"
     1.5  WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
     1.6  HOST_ARCH="i486 arm"
     1.7 +GENERIC_PIXMAPS="no"
     1.8  
     1.9  DEPENDS="gtk+ xorg-libXdamage"
    1.10  BUILD_DEPENDS="gtk+-dev xorg-libXrender-dev xorg-xproto"
    1.11 @@ -21,14 +22,14 @@
    1.12  	./configure \
    1.13  		--disable-print \
    1.14  		$CONFIGURE_ARGS &&
    1.15 -	make && make install &&
    1.16 -	# no xpm (5 ko)
    1.17 -	rm $DESTDIR/usr/share/pixmaps/*.xpm
    1.18 +	make && make install
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -    mkdir -p $fs/usr
    1.25 -    cp -a $install/usr/bin $fs/usr
    1.26 +	mkdir -p $fs/usr/share/icons/hicolor/48x48/apps
    1.27 +	cp -a $install/usr/bin $fs/usr
    1.28 +	cp -a $install/usr/share/pixmaps/leafpad.png \
    1.29 +		$fs/usr/share/icons/hicolor/48x48/apps
    1.30  }