wok annotate task/receipt @ rev 15831

clamav: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 24 16:02:14 2014 +0000 (2014-01-24)
parents c88c71045db6
children 3c8471163aef
rev   line source
paul@2755 1 # SliTaz package receipt.
paul@2755 2
paul@2755 3 PACKAGE="task"
paul@13521 4 VERSION="2.1.2"
paul@2755 5 CATEGORY="utilities"
paul@2755 6 SHORT_DESC="Task is an open source, command line, TODO list manager."
paul@2755 7 MAINTAINER="paul@slitaz.org"
pascal@15600 8 LICENSE="MIT"
paul@2755 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4238 10 WEB_SITE="http://taskwarrior.org"
paul@4239 11 WGET_URL="http://www.taskwarrior.org/download/$TARBALL"
jozee@4973 12 TAGS="office todo"
paul@2755 13
pascal@15600 14 DEPENDS="ncurses gcc-lib-base"
pascal@15600 15 BUILD_DEPENDS="ncurses-dev cmake"
pascal@15600 16
paul@2755 17 # Rules to configure and make the package.
paul@2755 18 compile_rules()
paul@2755 19 {
paul@2755 20 cd $src
paul@13521 21 #./configure \
paul@13521 22 #--prefix=/usr \
paul@13521 23 #--infodir=/usr/share/info \
paul@13521 24 #--mandir=/usr/share/man \
paul@13521 25 #$CONFIGURE_ARGS &&
paul@13521 26 cmake . -DCMAKE_INSTALL_PREFIX=/usr
paul@13521 27 make && make install
paul@2755 28 }
paul@2755 29
paul@2755 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@2755 31 genpkg_rules()
paul@2755 32 {
paul@4238 33 mkdir -p $fs/usr/share
paul@13521 34 cp -a $install/usr/bin $fs/usr
paul@13521 35 cp -a $install/usr/share/doc $fs/usr/share
paul@2755 36 }