wok view task/receipt @ rev 13601
pdns: add post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 10 13:54:41 2012 +0100 (2012-11-10) |
parents | bdb7ae9c7c09 |
children | de49f29b101e |
line source
1 # SliTaz package receipt.
3 PACKAGE="task"
4 VERSION="2.1.2"
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 cmake"
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 cmake . -DCMAKE_INSTALL_PREFIX=/usr
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/doc $fs/usr/share
34 }