wok-next annotate scite/receipt @ rev 21306

updated httrack (3.45.4 -> 3.49.2)
author Hans-G?nter Theisgen
date Tue Dec 10 10:00:39 2019 +0100 (2019-12-10)
parents d5aab818505e
children
rev   line source
al@21017 1 # SliTaz package receipt v2.
pascal@2177 2
pascal@2177 3 PACKAGE="scite"
pascal@20050 4 VERSION="4.0.1"
pascal@2177 5 CATEGORY="utilities"
al@21020 6 SHORT_DESC="Editor with syntax highlighting and source code editing features"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15593 8 LICENSE="PSL"
al@21017 9 WEB_SITE="https://www.scintilla.org/"
al@21017 10
al@21020 11 TARBALL="$PACKAGE${VERSION//./}.tgz"
pascal@2177 12 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
pascal@2177 13
al@21017 14 BUILD_DEPENDS="gtk2-dev"
slaxemulator@10971 15
al@21017 16 compile_rules() {
pascal@2177 17 # Build scintilla
slaxemulator@8428 18 cd $src/scintilla/gtk
pascal@2177 19 make GTK2=1 prefix=/usr
pascal@2177 20
pascal@2177 21 # Build SciTE
slaxemulator@8428 22 cd $src/scite/gtk
pascal@5007 23 make GTK2=1 prefix=/usr &&
al@21017 24 make prefix=/usr install || return 1
al@21017 25
al@21017 26 # Desktop file and icon
al@21020 27 mkdir -p $install/usr/share/applications $install/usr/share/pixmaps
al@21020 28 cp SciTE.desktop $install/usr/share/applications
al@21020 29 cp Sci48M.png $install/usr/share/pixmaps
pascal@2177 30 }
pascal@2177 31
al@21017 32 genpkg_rules() {
pankso@2182 33 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
slaxemulator@13004 34 cp -a $install/usr $fs
pankso@4830 35 # Save space ~100kb
pankso@4830 36 rm $fs/usr/share/scite/*.html
pankso@4830 37 rm $fs/usr/share/scite/*.png
al@21078 38 DEPENDS="gtk2 libxdamage gcc-lib-base"
al@21017 39 TAGS="text-editor"
pascal@2177 40 }