wok annotate scite/receipt @ rev 16757
Up sshfs-fuse (2.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 16 20:36:28 2014 +0200 (2014-06-16) |
parents | 73d3e81a7167 |
children | 5d53e8ccbc8d |
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" |
pascal@2177 | 12 |
slaxemulator@10971 | 13 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base" |
slaxemulator@10971 | 14 BUILD_DEPENDS="gtk+-dev" |
slaxemulator@10971 | 15 |
pascal@2177 | 16 # Rules to configure and make the package. |
pascal@2177 | 17 compile_rules() |
pascal@2177 | 18 { |
pascal@2177 | 19 # Build scintilla |
slaxemulator@8428 | 20 cd $src/scintilla/gtk |
pascal@2177 | 21 make GTK2=1 prefix=/usr |
pascal@2177 | 22 |
pascal@2177 | 23 # Build SciTE |
slaxemulator@8428 | 24 cd $src/scite/gtk |
pascal@5007 | 25 make GTK2=1 prefix=/usr && |
pascal@9029 | 26 make prefix=/usr install && { |
pascal@9029 | 27 # Desktop file and icon |
pascal@9029 | 28 mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps |
pascal@9029 | 29 cp SciTE.desktop $DESTDIR/usr/share/applications |
pascal@9029 | 30 cp Sci48M.png $DESTDIR/usr/share/pixmaps |
pascal@9029 | 31 } |
pascal@2177 | 32 } |
pascal@2177 | 33 |
pascal@2177 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2177 | 35 genpkg_rules() |
pascal@2177 | 36 { |
pankso@2182 | 37 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps |
slaxemulator@13004 | 38 cp -a $install/usr $fs |
pankso@4830 | 39 # Save space ~100kb |
pankso@4830 | 40 rm $fs/usr/share/scite/*.html |
pankso@4830 | 41 rm $fs/usr/share/scite/*.png |
pascal@2177 | 42 } |