wok annotate scite/receipt @ rev 19926
postfix: dirty fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 21 10:31:31 2017 +0200 (2017-04-21) |
parents | 3b4e4318134e |
children | 6135577f4d08 |
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@2177 | 10 WEB_SITE="http://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 } |