wok annotate scite/receipt @ rev 24099

Up openssh (8.7p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 16 08:39:38 2021 +0000 (2021-09-16)
parents 4de7333f0ac9
children e919c5a2742d
rev   line source
pascal@2177 1 # SliTaz package receipt.
pascal@2177 2
pascal@2177 3 PACKAGE="scite"
Hans-G?nter@23633 4 VERSION="4.3.2"
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
Hans-G?nter@23633 47 cp -a $install/usr $fs
Hans-G?nter@21889 48
Hans-G?nter@21889 49 # Save space ~100kB
Hans-G?nter@23633 50 rm $fs/usr/share/scite/*.html
Hans-G?nter@23633 51 rm $fs/usr/share/scite/*.png
pascal@2177 52 }