wok-next view scite/receipt @ rev 21271
up openssl10: 1.0.2o to 1.0.2t -> soon EOL
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Dec 07 12:21:21 2019 +0000 (2019-12-07) |
parents | d5aab818505e |
children |
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 libxdamage gcc-lib-base"
39 TAGS="text-editor"
40 }