wok view scite/receipt @ rev 6694
Changed libwebkit to compile with -j1. This is a fix cause it will not compile right the first time with jobs set to 4. I also remove webkit-r-dev for build depend. Thats not needed.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 13 03:29:24 2010 +0000 (2010-10-13) |
parents | 71f8df5a3811 |
children | 18ac2ae96705 |
line source
1 # SliTaz package receipt.
3 PACKAGE="scite"
4 VERSION="2.21"
5 SHORT_VERSION="221"
6 CATEGORY="utilities"
7 SHORT_DESC="Editor with syntax highlighting and source code editing features."
8 MAINTAINER="rcx@zoominternet.net"
9 DEPENDS="gtk+ xorg-libXdamage gcc-lib-base"
10 BUILD_DEPENDS="gtk+-dev"
11 TARBALL="${PACKAGE}${SHORT_VERSION}.tgz"
12 WEB_SITE="http://www.scintilla.org/"
13 WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Build scintilla
19 cd scintilla/gtk
20 make GTK2=1 prefix=/usr
21 cd ../..
23 # Build SciTE
24 cd scite/gtk
25 make GTK2=1 prefix=/usr &&
26 make prefix=/usr DESTDIR=$src/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps
33 cp -a $_pkg/usr $fs
34 # Desktop file and icon
35 cp $WOK/$PACKAGE/scite/gtk/SciTE.desktop $fs/usr/share/applications
36 cp $WOK/$PACKAGE/scite/gtk/Sci48M.png $fs/usr/share/pixmaps
37 # Save space ~100kb
38 rm $fs/usr/share/scite/*.html
39 rm $fs/usr/share/scite/*.png
40 }
42 clean_wok()
43 {
44 rm -rf scite scintilla
45 }