wok view task/receipt @ rev 25346

updated task (2.5.1 -> 2.6.2)
author Hans-G?nter Theisgen
date Mon Jul 25 09:24:40 2022 +0100 (2022-07-25)
parents 83b97236db32
children a5e183d53960
line source
1 # SliTaz package receipt.
3 PACKAGE="task"
4 VERSION="2.6.2"
5 CATEGORY="utilities"
6 TAGS="office todo"
7 SHORT_DESC="An open source, command line, TODO list manager."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://taskwarrior.org/"
11 REPOLOGY="taskwarrior"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="${WEB_SITE}download/$TARBALL"
16 DEPENDS="gcc83-lib-base libgnutls libunistring ncurses
17 util-linux-uuid"
18 BUILD_DEPENDS="cmake gcc83 gnutls-dev libgnutls libunistring-dev
19 ncurses-dev util-linux-uuid-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export CC=gcc-83
32 export CXX=g++-83
34 mkdir _build &&
35 cd _build &&
36 cmake .. \
37 -D CMAKE_INSTALL_PREFIX=/usr &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 cook_copy_folders rc
47 cook_copy_folders scripts
48 }