wok-6.x view task/receipt @ rev 15610
linux64*: fix install/_pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 07 06:59:03 2013 +0000 (2013-12-07) |
parents | c88c71045db6 |
children | 3c8471163aef |
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 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://taskwarrior.org"
11 WGET_URL="http://www.taskwarrior.org/download/$TARBALL"
12 TAGS="office todo"
14 DEPENDS="ncurses gcc-lib-base"
15 BUILD_DEPENDS="ncurses-dev cmake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 #./configure \
22 #--prefix=/usr \
23 #--infodir=/usr/share/info \
24 #--mandir=/usr/share/man \
25 #$CONFIGURE_ARGS &&
26 cmake . -DCMAKE_INSTALL_PREFIX=/usr
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/share/doc $fs/usr/share
36 }