wok-4.x annotate scite/receipt @ rev 4344

mitter: translate desktop file to french
author Christophe Lincoln <pankso@slitaz.org>
date Thu Oct 01 22:03:57 2009 +0200 (2009-10-01)
parents 9b7e25e6fde6
children 1d8e4936f96b
rev   line source
pascal@2177 1 # SliTaz package receipt.
pascal@2177 2
pascal@2177 3 PACKAGE="scite"
pascal@2177 4 VERSION="1.77"
pascal@2177 5 SHORT_VERSION="177"
pascal@2177 6 CATEGORY="utilities"
pascal@2177 7 SHORT_DESC="A free editor with syntax highlighting and source code editing features."
pankso@2183 8 MAINTAINER="rcx@zoominternet.net"
pascal@2524 9 DEPENDS="gtk+ xorg-libXdamage"
pascal@2177 10 BUILD_DEPENDS="gtk+-dev"
pascal@2177 11 TARBALL="${PACKAGE}${SHORT_VERSION}.tgz"
pascal@2177 12 WEB_SITE="http://www.scintilla.org/"
pascal@2177 13 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
pascal@2177 14
pascal@2177 15 # Rules to configure and make the package.
pascal@2177 16 compile_rules()
pascal@2177 17 {
pascal@2177 18 # Build scintilla
pascal@2177 19 cd scintilla/gtk
pascal@2177 20 make GTK2=1 prefix=/usr
pascal@2177 21 cd ../..
pascal@2177 22
pascal@2177 23 # Build SciTE
pascal@2177 24 cd scite/gtk
pankso@2182 25 make GTK2=1 prefix=/usr
pascal@2177 26 make prefix=/usr DESTDIR=$src/_pkg install
pascal@2177 27 }
pascal@2177 28
pascal@2177 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2177 30 genpkg_rules()
pascal@2177 31 {
pankso@2182 32 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
pascal@2177 33 cp -a $_pkg/usr $fs
pankso@2182 34 # Desktop file and icon
pankso@2182 35 cp $WOK/$PACKAGE/scite/gtk/SciTE.desktop $fs/usr/share/applications
pankso@2182 36 cp $WOK/$PACKAGE/scite/gtk/Sci48M.png $fs/usr/share/pixmaps
pascal@2177 37 }
pascal@2177 38
pankso@2182 39 clean_wok()
pankso@2182 40 {
pankso@2182 41 rm -rf scite scintilla
pankso@2182 42 }