wok-6.x annotate scite/receipt @ rev 4146

Fix: thunar-archive-plugin DEPENDS & BUILD_DEPENDS
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Sep 20 13:49:54 2009 +0000 (2009-09-20)
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 }