wok-current annotate scite/receipt @ rev 21927

updated socat (2.0.0-b7 -> 2.0.0-b8)
author Hans-G?nter Theisgen
date Sat Oct 05 21:31:52 2019 +0100 (2019-10-05)
parents 6135577f4d08
children 84f57aa7cd18
rev   line source
pascal@2177 1 # SliTaz package receipt.
pascal@2177 2
pascal@2177 3 PACKAGE="scite"
Hans-G?nter@21889 4 VERSION="4.2.0"
pascal@2177 5 CATEGORY="utilities"
Hans-G?nter@21889 6 TAGS="text-editor"
pankso@4830 7 SHORT_DESC="Editor with syntax highlighting and source code editing features."
pankso@2183 8 MAINTAINER="rcx@zoominternet.net"
pascal@15593 9 LICENSE="PSL"
Hans-G?nter@21889 10 WEB_SITE="https://www.scintilla.org/"
Hans-G?nter@21889 11
slaxemulator@11318 12 TARBALL="${PACKAGE}${VERSION//./}.tgz"
pascal@2177 13 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
pascal@2177 14
Hans-G?nter@21889 15 DEPENDS="gcc83-lib-base gtk+ xorg-libXdamage"
Hans-G?nter@21889 16 BUILD_DEPENDS="gcc83 gtk+-dev"
slaxemulator@10971 17
pascal@2177 18 # Rules to configure and make the package.
pascal@2177 19 compile_rules()
pascal@2177 20 {
Hans-G?nter@21889 21 export CC=gcc-83
Hans-G?nter@21889 22 export CXX=g++-83
Hans-G?nter@21889 23
pascal@2177 24 # Build scintilla
slaxemulator@8428 25 cd $src/scintilla/gtk
pascal@2177 26 make GTK2=1 prefix=/usr
pascal@2177 27
pascal@2177 28 # Build SciTE
slaxemulator@8428 29 cd $src/scite/gtk
pascal@5007 30 make GTK2=1 prefix=/usr &&
Hans-G?nter@21889 31 make prefix=/usr install &&
Hans-G?nter@21889 32 {
Hans-G?nter@21889 33 # Desktop file and icon
Hans-G?nter@21889 34 mkdir -p $DESTDIR/usr/share/applications
Hans-G?nter@21889 35 mkdir -p $DESTDIR/usr/share/pixmaps
Hans-G?nter@21889 36 cp SciTE.desktop $DESTDIR/usr/share/applications
Hans-G?nter@21889 37 cp Sci48M.png $DESTDIR/usr/share/pixmaps
pascal@9029 38 }
pascal@2177 39 }
pascal@2177 40
pascal@2177 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2177 42 genpkg_rules()
pascal@2177 43 {
Hans-G?nter@21889 44 mkdir -p $fs/usr/share/applications
Hans-G?nter@21889 45 mkdir -p $fs/usr/share/pixmaps
Hans-G?nter@21889 46
slaxemulator@13004 47 cp -a $install/usr $fs
Hans-G?nter@21889 48
Hans-G?nter@21889 49 # Save space ~100kB
pankso@4830 50 rm $fs/usr/share/scite/*.html
pankso@4830 51 rm $fs/usr/share/scite/*.png
pascal@2177 52 }