wok annotate scite/receipt @ rev 6109
fox, fox14, glew, libqwt5-qt4, normalize, nut, ophcrack, scribus: fix build_depends (no virtual packages)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 04 12:47:38 2010 +0200 (2010-09-04) |
parents | b6342fd619e1 |
children | 8b731dd8536d |
rev | line source |
---|---|
pascal@2177 | 1 # SliTaz package receipt. |
pascal@2177 | 2 |
pascal@2177 | 3 PACKAGE="scite" |
rcx@6010 | 4 VERSION="2.20" |
rcx@6010 | 5 SHORT_VERSION="220" |
pascal@2177 | 6 CATEGORY="utilities" |
pankso@4830 | 7 SHORT_DESC="Editor with syntax highlighting and source code editing features." |
pankso@2183 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@5007 | 9 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base" |
rcx@6056 | 10 BUILD_DEPENDS="gtk+-dev" |
pascal@2177 | 11 TARBALL="${PACKAGE}${SHORT_VERSION}.tgz" |
pascal@2177 | 12 WEB_SITE="http://www.scintilla.org/" |
pascal@2177 | 13 WGET_URL="$SF_MIRROR/scintilla/$TARBALL" |
pascal@2177 | 14 |
pascal@2177 | 15 # Rules to configure and make the package. |
pascal@2177 | 16 compile_rules() |
pascal@2177 | 17 { |
pascal@2177 | 18 # Build scintilla |
pascal@2177 | 19 cd scintilla/gtk |
pascal@2177 | 20 make GTK2=1 prefix=/usr |
pascal@2177 | 21 cd ../.. |
pascal@2177 | 22 |
pascal@2177 | 23 # Build SciTE |
pascal@2177 | 24 cd scite/gtk |
pascal@5007 | 25 make GTK2=1 prefix=/usr && |
pascal@2177 | 26 make prefix=/usr DESTDIR=$src/_pkg install |
pascal@2177 | 27 } |
pascal@2177 | 28 |
pascal@2177 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2177 | 30 genpkg_rules() |
pascal@2177 | 31 { |
pankso@2182 | 32 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps |
pascal@2177 | 33 cp -a $_pkg/usr $fs |
pankso@2182 | 34 # Desktop file and icon |
pankso@2182 | 35 cp $WOK/$PACKAGE/scite/gtk/SciTE.desktop $fs/usr/share/applications |
pankso@2182 | 36 cp $WOK/$PACKAGE/scite/gtk/Sci48M.png $fs/usr/share/pixmaps |
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 } |