wok view scite/receipt @ rev 21845

updated rox packages (2.8 -> 2.11)
author Hans-G?nter Theisgen
date Sun Sep 15 11:06:31 2019 +0100 (2019-09-15)
parents 5d53e8ccbc8d
children 4de7333f0ac9
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="https://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 }