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