wok view scite/receipt @ rev 21117
Up reiserfsprogs (3.6.27) again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 19 19:43:29 2019 +0100 (2019-03-19) |
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 }