wok-6.x annotate scite/receipt @ rev 10461
python-formencode: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 11:27:37 2011 +0200 (2011-05-25) |
parents | 0b8fdc613a70 |
children | 49c02dc9b56a |
rev | line source |
---|---|
pascal@2177 | 1 # SliTaz package receipt. |
pascal@2177 | 2 |
pascal@2177 | 3 PACKAGE="scite" |
slaxemulator@10216 | 4 VERSION="2.25" |
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@5007 | 8 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base" |
rcx@6056 | 9 BUILD_DEPENDS="gtk+-dev" |
slaxemulator@8428 | 10 TARBALL="${PACKAGE}${VERSION/./}.tgz" |
pascal@2177 | 11 WEB_SITE="http://www.scintilla.org/" |
pascal@2177 | 12 WGET_URL="$SF_MIRROR/scintilla/$TARBALL" |
pascal@2177 | 13 |
pascal@2177 | 14 # Rules to configure and make the package. |
pascal@2177 | 15 compile_rules() |
pascal@2177 | 16 { |
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 && |
pascal@9029 | 24 make prefix=/usr install && { |
pascal@9029 | 25 # Desktop file and icon |
pascal@9029 | 26 mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps |
pascal@9029 | 27 cp SciTE.desktop $DESTDIR/usr/share/applications |
pascal@9029 | 28 cp Sci48M.png $DESTDIR/usr/share/pixmaps |
pascal@9029 | 29 } |
pascal@2177 | 30 } |
pascal@2177 | 31 |
pascal@2177 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2177 | 33 genpkg_rules() |
pascal@2177 | 34 { |
pankso@2182 | 35 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps |
pascal@2177 | 36 cp -a $_pkg/usr $fs |
pankso@4830 | 37 # Save space ~100kb |
pankso@4830 | 38 rm $fs/usr/share/scite/*.html |
pankso@4830 | 39 rm $fs/usr/share/scite/*.png |
pascal@2177 | 40 } |
pascal@2177 | 41 |
pankso@2182 | 42 clean_wok() |
pankso@2182 | 43 { |
pankso@2182 | 44 rm -rf scite scintilla |
pankso@2182 | 45 } |