# SliTaz package receipt.

PACKAGE="task"
VERSION="1.9.4"
CATEGORY="utilities"
SHORT_DESC="Task is an open source, command line, TODO list manager."
MAINTAINER="paul@slitaz.org"
DEPENDS="ncurses gcc-lib-base"
BUILD_DEPENDS="ncurses-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://taskwarrior.org"
WGET_URL="http://www.taskwarrior.org/download/$TARBALL"
TAGS="office todo"

# 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/share
	cp -a $_pkg/usr/bin $fs/usr
	cp -a $_pkg/usr/share/doc $fs/usr/share
}