wok-current rev 2182

scite: add desktop file and icon + clean_wok
author Christophe Lincoln <pankso@slitaz.org>
date Sun Feb 08 21:41:04 2009 +0100 (2009-02-08)
parents 456efbbe7c55
children 9b7e25e6fde6
files scite/receipt
line diff
     1.1 --- a/scite/receipt	Sun Feb 08 21:28:41 2009 +0100
     1.2 +++ b/scite/receipt	Sun Feb 08 21:41:04 2009 +0100
     1.3 @@ -5,7 +5,7 @@
     1.4  SHORT_VERSION="177"
     1.5  CATEGORY="utilities"
     1.6  SHORT_DESC="A free editor with syntax highlighting and source code editing features."
     1.7 -MAINTAINER="rcx@zoominternet.net"
     1.8 +MAINTAINER="slitaz@slitaz.org"
     1.9  DEPENDS="gtk+"
    1.10  BUILD_DEPENDS="gtk+-dev"
    1.11  TARBALL="${PACKAGE}${SHORT_VERSION}.tgz"
    1.12 @@ -22,13 +22,21 @@
    1.13  
    1.14  	# Build SciTE
    1.15  	cd scite/gtk
    1.16 -	make GTK2=1 prefix=/usr &&
    1.17 +	make GTK2=1 prefix=/usr
    1.18  	make prefix=/usr DESTDIR=$src/_pkg 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/share/applications $fs/usr/share/pixmaps
    1.25  	cp -a $_pkg/usr $fs
    1.26 +	# Desktop file and icon
    1.27 +	cp $WOK/$PACKAGE/scite/gtk/SciTE.desktop $fs/usr/share/applications
    1.28 +	cp $WOK/$PACKAGE/scite/gtk/Sci48M.png $fs/usr/share/pixmaps
    1.29  }
    1.30  
    1.31 +clean_wok()
    1.32 +{
    1.33 +	rm -rf scite scintilla
    1.34 +}