wok-6.x view scite/receipt @ rev 17649

Up: attr 2.4.47
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 14 22:13:27 2015 +0000 (2015-02-14)
parents 3b4e4318134e
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="scite"
4 VERSION="3.2.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Editor with syntax highlighting and source code editing features."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="PSL"
9 TARBALL="${PACKAGE}${VERSION//./}.tgz"
10 WEB_SITE="http://www.scintilla.org/"
11 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
12 TAGS="text-editor"
14 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base"
15 BUILD_DEPENDS="gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Build scintilla
21 cd $src/scintilla/gtk
22 make GTK2=1 prefix=/usr
24 # Build SciTE
25 cd $src/scite/gtk
26 make GTK2=1 prefix=/usr &&
27 make prefix=/usr install && {
28 # Desktop file and icon
29 mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps
30 cp SciTE.desktop $DESTDIR/usr/share/applications
31 cp Sci48M.png $DESTDIR/usr/share/pixmaps
32 }
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
39 cp -a $install/usr $fs
40 # Save space ~100kb
41 rm $fs/usr/share/scite/*.html
42 rm $fs/usr/share/scite/*.png
43 }