wok-next view scite/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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="devel@slitaz.org"
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 $install/usr/share/applications $install/usr/share/pixmaps
28 cp SciTE.desktop $install/usr/share/applications
29 cp Sci48M.png $install/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 }