# HG changeset patch
# User Paul Issott <paul@slitaz.org>
# Date 1285184581 0
# Node ID becabe104680b414e63c6194197cc2fbfc1b91c5
# Parent  7e4d83d8ae14c218d103e369ebd0823d575de62b
Add vidalia

diff -r 7e4d83d8ae14 -r becabe104680 vidalia/receipt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vidalia/receipt	Wed Sep 22 19:43:01 2010 +0000
@@ -0,0 +1,33 @@
+# SliTaz package receipt.
+
+PACKAGE="vidalia"
+VERSION="0.2.10"
+CATEGORY="network"
+SHORT_DESC="Controller GUI for the Tor software."
+MAINTAINER="paul@slitaz.org"
+DEPENDS="tor libQtGui libQtXml libegl-mesa"
+BUILD_DEPENDS="cmake Qt4-dev wget qmake libegl-mesa"
+TARBALL="$PACKAGE-$VERSION.tar.gz"
+WEB_SITE="https://www.torproject.org/vidalia/"
+# WGET_URL="https://www.torproject.org/vidalia/dist/$TARBALL"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+	# Have to use wget for https stuff
+	wget --no-check-certificate https://www.torproject.org/vidalia/dist/$TARBALL
+	tar xvf $TARBALL
+	cd $src
+	mkdir build && cd build
+	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
+	make && make DESTDIR=$src/_pkg install
+}
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+	mkdir -p $fs/usr
+	cp -a $_pkg/usr/bin $fs/usr
+	cp -a $_pkg/usr/share/ $fs/usr
+}
+