wok view scite/receipt @ rev 10180

Up: lrzip to 0.604.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 22:31:17 2011 +0000 (2011-05-20)
parents 3b6c795f4374
children 2cc520912413
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 install && {
25 # Desktop file and icon
26 mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps
27 cp SciTE.desktop $DESTDIR/usr/share/applications
28 cp Sci48M.png $DESTDIR/usr/share/pixmaps
29 }
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
36 cp -a $_pkg/usr $fs
37 # Save space ~100kb
38 rm $fs/usr/share/scite/*.html
39 rm $fs/usr/share/scite/*.png
40 }
42 clean_wok()
43 {
44 rm -rf scite scintilla
45 }