wok view scite/receipt @ rev 20454
Up zstd (1.3.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 06 15:17:20 2018 +0200 (2018-10-06) |
parents | 3b4e4318134e |
children | 6135577f4d08 |
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="http://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 }