# HG changeset patch
# User Pascal Bellard <pascal.bellard@slitaz.org>
# Date 1234111969 0
# Node ID 8812754494422e94b36b56befd16176e43ded871
# Parent  51c6f8c526bbe7ae2cb22aa731069461326183cc
Add scite (thanks Matthew)

diff -r 51c6f8c526bb -r 881275449442 scite/receipt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scite/receipt	Sun Feb 08 16:52:49 2009 +0000
@@ -0,0 +1,34 @@
+# SliTaz package receipt.
+
+PACKAGE="scite"
+VERSION="1.77"
+SHORT_VERSION="177"
+CATEGORY="utilities"
+SHORT_DESC="A free editor with syntax highlighting and source code editing features."
+MAINTAINER="rcx@zoominternet.net"
+DEPENDS="gtk+"
+BUILD_DEPENDS="gtk+-dev"
+TARBALL="${PACKAGE}${SHORT_VERSION}.tgz"
+WEB_SITE="http://www.scintilla.org/"
+WGET_URL="$SF_MIRROR/scintilla/$TARBALL"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+	# Build scintilla
+	cd scintilla/gtk
+	make GTK2=1 prefix=/usr
+	cd ../..
+
+	# Build SciTE
+	cd scite/gtk
+	make GTK2=1 prefix=/usr &&
+	make prefix=/usr DESTDIR=$src/_pkg install
+}
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+	cp -a $_pkg/usr $fs
+}
+