wok view scite/receipt @ rev 22057

updated tumbler and tumbler-dev (0.1.27 -> 0.2.7)
author Hans-G?nter Theisgen
date Wed Oct 23 16:26:38 2019 +0100 (2019-10-23)
parents 6135577f4d08
children 84f57aa7cd18
line source
1 # SliTaz package receipt.
3 PACKAGE="scite"
4 VERSION="4.2.0"
5 CATEGORY="utilities"
6 TAGS="text-editor"
7 SHORT_DESC="Editor with syntax highlighting and source code editing features."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="PSL"
10 WEB_SITE="https://www.scintilla.org/"
12 TARBALL="${PACKAGE}${VERSION//./}.tgz"
13 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
15 DEPENDS="gcc83-lib-base gtk+ xorg-libXdamage"
16 BUILD_DEPENDS="gcc83 gtk+-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export CC=gcc-83
22 export CXX=g++-83
24 # Build scintilla
25 cd $src/scintilla/gtk
26 make GTK2=1 prefix=/usr
28 # Build SciTE
29 cd $src/scite/gtk
30 make GTK2=1 prefix=/usr &&
31 make prefix=/usr install &&
32 {
33 # Desktop file and icon
34 mkdir -p $DESTDIR/usr/share/applications
35 mkdir -p $DESTDIR/usr/share/pixmaps
36 cp SciTE.desktop $DESTDIR/usr/share/applications
37 cp Sci48M.png $DESTDIR/usr/share/pixmaps
38 }
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/applications
45 mkdir -p $fs/usr/share/pixmaps
47 cp -a $install/usr $fs
49 # Save space ~100kB
50 rm $fs/usr/share/scite/*.html
51 rm $fs/usr/share/scite/*.png
52 }