wok-6.x rev 462

-10 Ko of uncompressible images (isomaster + leafpad)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 20 00:39:20 2008 +0100 (2008-03-20)
parents b76786e9d10d
children 28b23f950f49
files isomaster/receipt leafpad/receipt
line diff
     1.1 --- a/isomaster/receipt	Wed Mar 19 23:33:03 2008 +0100
     1.2 +++ b/isomaster/receipt	Thu Mar 20 00:39:20 2008 +0100
     1.3 @@ -25,5 +25,5 @@
     1.4  	mkdir -p $fs/usr/share
     1.5  	cp -a $_pkg/usr/bin $fs/usr
     1.6  	cp -a $_pkg/usr/share/isomaster $fs/usr/share
     1.7 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
     1.8 +	rm $fs/usr/share/isomaster/icons/isomaster.png
     1.9  }
     2.1 --- a/leafpad/receipt	Wed Mar 19 23:33:03 2008 +0100
     2.2 +++ b/leafpad/receipt	Thu Mar 20 00:39:20 2008 +0100
     2.3 @@ -6,6 +6,7 @@
     2.4  SHORT_DESC="GTK simple text editor."
     2.5  MAINTAINER="pankso@slitaz.org"
     2.6  DEPENDS="gtk+"
     2.7 +BUILD_DEPENDS="gtk+-dev"
     2.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.9  WEB_SITE="http://tarot.freeshell.org/leafpad/"
    2.10  WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
    2.11 @@ -22,19 +23,13 @@
    2.12      	$CONFIGURE_ARGS
    2.13      make
    2.14      make DESTDIR=$PWD/_pkg install
    2.15 +    # no xpm (5 ko)
    2.16 +    rm _pkg/usr/share/pixmaps/*.xpm
    2.17  }
    2.18  
    2.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.20  genpkg_rules()
    2.21  {
    2.22 -    mkdir -p \
    2.23 -    	$fs/usr/share/applications \
    2.24 -    	$fs/usr/share/pixmaps \
    2.25 -    	$fs/usr/share/locale
    2.26 +    mkdir -p $fs/usr
    2.27      cp -a $_pkg/usr/bin $fs/usr
    2.28 -    cp -a $_pkg/usr/share/pixmaps/leafpad.png $fs/usr/share/pixmaps
    2.29 -    cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    2.30 -    strip -s $fs/usr/bin/*
    2.31 -    # Freedesktop entry
    2.32 -	cp -a stuff/$PACKAGE.desktop $fs/usr/share/applications
    2.33  }