wok-6.x annotate scite/receipt @ rev 21586

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