# HG changeset patch
# User Paul Issott <paul@slitaz.org>
# Date 1240760430 0
# Node ID 58d6e1a5e0ce872ea5f5f2e3caac40ec12af30c0
# Parent  f2c42e4f6715a19424f53330cd1ad2c99b8c22d8
Add task

diff -r f2c42e4f6715 -r 58d6e1a5e0ce task/receipt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/task/receipt	Sun Apr 26 15:40:30 2009 +0000
@@ -0,0 +1,31 @@
+# SliTaz package receipt.
+
+PACKAGE="task"
+VERSION="1.6.1"
+CATEGORY="utilities"
+SHORT_DESC="Task is an open source, command line, TODO list manager."
+MAINTAINER="paul@slitaz.org"
+DEPENDS="ncurses"
+BUILD_DEPENDS="ncurses-dev"
+TARBALL="$PACKAGE-$VERSION.tar.gz"
+WEB_SITE="http://www.beckingham.net/task.html"
+WGET_URL="http://www.beckingham.net/$TARBALL"
+
+# Rules to configure and make the package.
+compile_rules()
+{
+	cd $src
+	./configure \
+		--prefix=/usr \
+		--infodir=/usr/share/info \
+		--mandir=/usr/share/man \
+		$CONFIGURE_ARGS &&
+	make && make DESTDIR=$PWD/_pkg install
+}
+
+# Rules to gen a SliTaz package suitable for Tazpkg.
+genpkg_rules()
+{
+	mkdir -p $fs/usr
+	cp -a $_pkg/usr/bin $fs/usr
+}