wok-current annotate scite/receipt @ rev 8428

Up: scite to 2.24.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Feb 05 21:50:09 2011 +0000 (2011-02-05)
parents 7f30061f1a50
children 0b8fdc613a70
rev   line source
pascal@2177 1 # SliTaz package receipt.
pascal@2177 2
pascal@2177 3 PACKAGE="scite"
slaxemulator@8428 4 VERSION="2.24"
pascal@2177 5 CATEGORY="utilities"
pankso@4830 6 SHORT_DESC="Editor with syntax highlighting and source code editing features."
pankso@2183 7 MAINTAINER="rcx@zoominternet.net"
pascal@5007 8 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base"
rcx@6056 9 BUILD_DEPENDS="gtk+-dev"
slaxemulator@8428 10 TARBALL="${PACKAGE}${VERSION/./}.tgz"
pascal@2177 11 WEB_SITE="http://www.scintilla.org/"
pascal@2177 12 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
pascal@2177 13
pascal@2177 14 # Rules to configure and make the package.
pascal@2177 15 compile_rules()
pascal@2177 16 {
pascal@2177 17 # Build scintilla
slaxemulator@8428 18 cd $src/scintilla/gtk
pascal@2177 19 make GTK2=1 prefix=/usr
pascal@2177 20
pascal@2177 21 # Build SciTE
slaxemulator@8428 22 cd $src/scite/gtk
pascal@5007 23 make GTK2=1 prefix=/usr &&
pascal@2177 24 make prefix=/usr DESTDIR=$src/_pkg install
pascal@2177 25 }
pascal@2177 26
pascal@2177 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2177 28 genpkg_rules()
pascal@2177 29 {
pankso@2182 30 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
pascal@2177 31 cp -a $_pkg/usr $fs
pankso@2182 32 # Desktop file and icon
pankso@2182 33 cp $WOK/$PACKAGE/scite/gtk/SciTE.desktop $fs/usr/share/applications
pankso@2182 34 cp $WOK/$PACKAGE/scite/gtk/Sci48M.png $fs/usr/share/pixmaps
pankso@4830 35 # Save space ~100kb
pankso@4830 36 rm $fs/usr/share/scite/*.html
pankso@4830 37 rm $fs/usr/share/scite/*.png
pascal@2177 38 }
pascal@2177 39
pankso@2182 40 clean_wok()
pankso@2182 41 {
pankso@2182 42 rm -rf scite scintilla
pankso@2182 43 }