wok view scite/receipt @ rev 11318

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