wok-next view scite/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 7506b35e1c6f |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="scite"
4 VERSION="4.0.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Editor with syntax highlighting and source code editing features."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="PSL"
9 WEB_SITE="https://www.scintilla.org/"
11 TARBALL="${PACKAGE}${VERSION//./}.tgz"
12 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev"
16 compile_rules() {
17 # Build scintilla
18 cd $src/scintilla/gtk
19 make GTK2=1 prefix=/usr
21 # Build SciTE
22 cd $src/scite/gtk
23 make GTK2=1 prefix=/usr &&
24 make prefix=/usr install || return 1
26 # Desktop file and icon
27 mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps
28 cp SciTE.desktop $DESTDIR/usr/share/applications
29 cp Sci48M.png $DESTDIR/usr/share/pixmaps
30 }
32 genpkg_rules() {
33 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
34 cp -a $install/usr $fs
35 # Save space ~100kb
36 rm $fs/usr/share/scite/*.html
37 rm $fs/usr/share/scite/*.png
38 DEPENDS="gtk2 xorg-libXdamage gcc-lib-base"
39 TAGS="text-editor"
40 }