wok-current annotate task/receipt @ rev 21779

linld: fix strdup (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 11 16:53:39 2019 +0200 (2019-07-11)
parents 3c8471163aef
children adc67a2324c0
rev   line source
paul@2755 1 # SliTaz package receipt.
paul@2755 2
paul@2755 3 PACKAGE="task"
paul@17377 4 VERSION="2.3.0"
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"
pascal@20679 10 WEB_SITE="https://taskwarrior.org/"
paul@4239 11 WGET_URL="http://www.taskwarrior.org/download/$TARBALL"
jozee@4973 12 TAGS="office todo"
paul@2755 13
paul@17377 14 DEPENDS="ncurses gcc-lib-base util-linux-uuid"
paul@17377 15 BUILD_DEPENDS="ncurses-dev cmake util-linux-uuid-dev"
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 }