SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "task"

# SliTaz package receipt.

PACKAGE="task"
VERSION="2.6.2"
CATEGORY="utilities"
TAGS="office todo"
SHORT_DESC="An open source, command line, TODO list manager."
MAINTAINER="paul@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://taskwarrior.org/"
REPOLOGY="taskwarrior"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}download/$TARBALL"

DEPENDS="gcc83-lib-base libgnutls libunistring ncurses 
    util-linux-uuid"
BUILD_DEPENDS="cmake gcc83 gnutls-dev libgnutls libunistring-dev 
    ncurses-dev util-linux-uuid-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
}

# Rules to configure and make the package.
compile_rules()
{
    export    CC=gcc-83
    export    CXX=g++-83

    mkdir    _build &&
    cd    _build &&
    cmake    ..            \
        -D CMAKE_INSTALL_PREFIX=/usr &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    rc
    cook_copy_folders    scripts
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)