wok-current view task/receipt @ rev 11544
swat: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 14:23:11 2011 +0100 (2011-12-25) |
parents | 994abf022cf7 |
children | c88c71045db6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="task"
4 VERSION="1.9.4"
5 CATEGORY="utilities"
6 SHORT_DESC="Task is an open source, command line, TODO list manager."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses gcc-lib-base"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://taskwarrior.org"
12 WGET_URL="http://www.taskwarrior.org/download/$TARBALL"
13 TAGS="office todo"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/doc $fs/usr/share
33 }