wok annotate task/receipt @ rev 25805

created recipe for xfce4-weather-plugin
author Hans-G?nter Theisgen
date Wed Nov 13 15:24:31 2024 +0100 (2 weeks ago)
parents d531d97128bf
children
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@25602 24 wget -O - https://github.com/GothenburgBitFactory/taskwarrior/releases 2>/dev/null | \
pascal@25602 25 sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;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 }