wok annotate task/receipt @ rev 25466

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