wok rev 21889
updated scite (3.2.0 -> 4.2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 10:00:59 2019 +0100 (2019-10-03) |
parents | f2da28eeed34 |
children | c7f226fe1c21 |
files | scite/receipt |
line diff
1.1 --- a/scite/receipt Wed Oct 02 21:55:48 2019 +0200 1.2 +++ b/scite/receipt Thu Oct 03 10:00:59 2019 +0100 1.3 @@ -1,22 +1,26 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="scite" 1.7 -VERSION="3.2.0" 1.8 +VERSION="4.2.0" 1.9 CATEGORY="utilities" 1.10 +TAGS="text-editor" 1.11 SHORT_DESC="Editor with syntax highlighting and source code editing features." 1.12 MAINTAINER="rcx@zoominternet.net" 1.13 LICENSE="PSL" 1.14 +WEB_SITE="https://www.scintilla.org/" 1.15 + 1.16 TARBALL="${PACKAGE}${VERSION//./}.tgz" 1.17 -WEB_SITE="https://www.scintilla.org/" 1.18 WGET_URL="$SF_MIRROR/scintilla/$TARBALL" 1.19 -TAGS="text-editor" 1.20 1.21 -DEPENDS="gtk+ xorg-libXdamage gcc-lib-base" 1.22 -BUILD_DEPENDS="gtk+-dev" 1.23 +DEPENDS="gcc83-lib-base gtk+ xorg-libXdamage" 1.24 +BUILD_DEPENDS="gcc83 gtk+-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 { 1.29 + export CC=gcc-83 1.30 + export CXX=g++-83 1.31 + 1.32 # Build scintilla 1.33 cd $src/scintilla/gtk 1.34 make GTK2=1 prefix=/usr 1.35 @@ -24,20 +28,25 @@ 1.36 # Build SciTE 1.37 cd $src/scite/gtk 1.38 make GTK2=1 prefix=/usr && 1.39 - make prefix=/usr install && { 1.40 - # Desktop file and icon 1.41 - mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps 1.42 - cp SciTE.desktop $DESTDIR/usr/share/applications 1.43 - cp Sci48M.png $DESTDIR/usr/share/pixmaps 1.44 + make prefix=/usr install && 1.45 + { 1.46 + # Desktop file and icon 1.47 + mkdir -p $DESTDIR/usr/share/applications 1.48 + mkdir -p $DESTDIR/usr/share/pixmaps 1.49 + cp SciTE.desktop $DESTDIR/usr/share/applications 1.50 + cp Sci48M.png $DESTDIR/usr/share/pixmaps 1.51 } 1.52 } 1.53 1.54 # Rules to gen a SliTaz package suitable for Tazpkg. 1.55 genpkg_rules() 1.56 { 1.57 - mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps 1.58 + mkdir -p $fs/usr/share/applications 1.59 + mkdir -p $fs/usr/share/pixmaps 1.60 + 1.61 cp -a $install/usr $fs 1.62 - # Save space ~100kb 1.63 + 1.64 + # Save space ~100kB 1.65 rm $fs/usr/share/scite/*.html 1.66 rm $fs/usr/share/scite/*.png 1.67 }