wok view scite/receipt @ rev 16598

get-opera: add en, thanks az_ua
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 07 13:28:52 2014 +0000 (2014-05-07)
parents 73d3e81a7167
children 5d53e8ccbc8d
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"
13 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base"
14 BUILD_DEPENDS="gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Build scintilla
20 cd $src/scintilla/gtk
21 make GTK2=1 prefix=/usr
23 # Build SciTE
24 cd $src/scite/gtk
25 make GTK2=1 prefix=/usr &&
26 make prefix=/usr install && {
27 # Desktop file and icon
28 mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps
29 cp SciTE.desktop $DESTDIR/usr/share/applications
30 cp Sci48M.png $DESTDIR/usr/share/pixmaps
31 }
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
38 cp -a $install/usr $fs
39 # Save space ~100kb
40 rm $fs/usr/share/scite/*.html
41 rm $fs/usr/share/scite/*.png
42 }