wok-current view scite/receipt @ rev 23059

zoneminder: use openssl
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 07 17:19:32 2020 +0100 (2020-03-07)
parents 6135577f4d08
children 84f57aa7cd18
line source
1 # SliTaz package receipt.
3 PACKAGE="scite"
4 VERSION="4.2.0"
5 CATEGORY="utilities"
6 TAGS="text-editor"
7 SHORT_DESC="Editor with syntax highlighting and source code editing features."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="PSL"
10 WEB_SITE="https://www.scintilla.org/"
12 TARBALL="${PACKAGE}${VERSION//./}.tgz"
13 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
15 DEPENDS="gcc83-lib-base gtk+ xorg-libXdamage"
16 BUILD_DEPENDS="gcc83 gtk+-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export CC=gcc-83
22 export CXX=g++-83
24 # Build scintilla
25 cd $src/scintilla/gtk
26 make GTK2=1 prefix=/usr
28 # Build SciTE
29 cd $src/scite/gtk
30 make GTK2=1 prefix=/usr &&
31 make prefix=/usr install &&
32 {
33 # Desktop file and icon
34 mkdir -p $DESTDIR/usr/share/applications
35 mkdir -p $DESTDIR/usr/share/pixmaps
36 cp SciTE.desktop $DESTDIR/usr/share/applications
37 cp Sci48M.png $DESTDIR/usr/share/pixmaps
38 }
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share/applications
45 mkdir -p $fs/usr/share/pixmaps
47 cp -a $install/usr $fs
49 # Save space ~100kB
50 rm $fs/usr/share/scite/*.html
51 rm $fs/usr/share/scite/*.png
52 }