wok-current view scite/receipt @ rev 14517
linux: fix local privilege escalation 0day, 2.6.37 - 3.8.10
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 16 16:02:27 2013 +0200 (2013-05-16) |
parents | 7b924ab3257e |
children | 3b4e4318134e |
line source
1 # SliTaz package receipt.
3 PACKAGE="scite"
4 VERSION="3.2.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Editor with syntax highlighting and source code editing features."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="${PACKAGE}${VERSION//./}.tgz"
9 WEB_SITE="http://www.scintilla.org/"
10 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
12 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base"
13 BUILD_DEPENDS="gtk+-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Build scintilla
19 cd $src/scintilla/gtk
20 make GTK2=1 prefix=/usr
22 # Build SciTE
23 cd $src/scite/gtk
24 make GTK2=1 prefix=/usr &&
25 make prefix=/usr install && {
26 # Desktop file and icon
27 mkdir -p $DESTDIR/usr/share/applications $DESTDIR/usr/share/pixmaps
28 cp SciTE.desktop $DESTDIR/usr/share/applications
29 cp Sci48M.png $DESTDIR/usr/share/pixmaps
30 }
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
37 cp -a $install/usr $fs
38 # Save space ~100kb
39 rm $fs/usr/share/scite/*.html
40 rm $fs/usr/share/scite/*.png
41 }