wok-6.x view scite/receipt @ rev 11262
Merge
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Nov 07 21:05:41 2011 +0000 (2011-11-07) |
parents | 2cc520912413 |
children | 7b924ab3257e |
line source
1 # SliTaz package receipt.
3 PACKAGE="scite"
4 VERSION="2.29"
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 }