wok-6.x annotate scite/receipt @ rev 10971
Up: scite to 2.29.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 12 12:38:15 2011 +0000 (2011-10-12) |
parents | 2cc520912413 |
children | 7b924ab3257e |
rev | line source |
---|---|
pascal@2177 | 1 # SliTaz package receipt. |
pascal@2177 | 2 |
pascal@2177 | 3 PACKAGE="scite" |
slaxemulator@10971 | 4 VERSION="2.29" |
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" |
slaxemulator@8428 | 8 TARBALL="${PACKAGE}${VERSION/./}.tgz" |
pascal@2177 | 9 WEB_SITE="http://www.scintilla.org/" |
pascal@2177 | 10 WGET_URL="$SF_MIRROR/scintilla/$TARBALL" |
pascal@2177 | 11 |
slaxemulator@10971 | 12 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base" |
slaxemulator@10971 | 13 BUILD_DEPENDS="gtk+-dev" |
slaxemulator@10971 | 14 |
pascal@2177 | 15 # Rules to configure and make the package. |
pascal@2177 | 16 compile_rules() |
pascal@2177 | 17 { |
pascal@2177 | 18 # Build scintilla |
slaxemulator@8428 | 19 cd $src/scintilla/gtk |
pascal@2177 | 20 make GTK2=1 prefix=/usr |
pascal@2177 | 21 |
pascal@2177 | 22 # Build SciTE |
slaxemulator@8428 | 23 cd $src/scite/gtk |
pascal@5007 | 24 make GTK2=1 prefix=/usr && |
pascal@9029 | 25 make prefix=/usr install && { |
pascal@9029 | 26 # Desktop file and icon |
pascal@9029 | 27 mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps |
pascal@9029 | 28 cp SciTE.desktop $DESTDIR/usr/share/applications |
pascal@9029 | 29 cp Sci48M.png $DESTDIR/usr/share/pixmaps |
pascal@9029 | 30 } |
pascal@2177 | 31 } |
pascal@2177 | 32 |
pascal@2177 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2177 | 34 genpkg_rules() |
pascal@2177 | 35 { |
pankso@2182 | 36 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps |
pascal@2177 | 37 cp -a $_pkg/usr $fs |
pankso@4830 | 38 # Save space ~100kb |
pankso@4830 | 39 rm $fs/usr/share/scite/*.html |
pankso@4830 | 40 rm $fs/usr/share/scite/*.png |
pascal@2177 | 41 } |
pascal@2177 | 42 |
pankso@2182 | 43 clean_wok() |
pankso@2182 | 44 { |
pankso@2182 | 45 rm -rf scite scintilla |
pankso@2182 | 46 } |