wok rev 22009

updated task (2.3.0 -> 2.5.1)
author Hans-G?nter Theisgen
date Sat Oct 19 15:10:30 2019 +0100 (2019-10-19)
parents e45e765b1037
children d7bcdb8f5834
files task/receipt
line diff
     1.1 --- a/task/receipt	Sat Oct 19 11:12:33 2019 +0200
     1.2 +++ b/task/receipt	Sat Oct 19 15:10:30 2019 +0100
     1.3 @@ -1,36 +1,42 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="task"
     1.7 -VERSION="2.3.0"
     1.8 +VERSION="2.5.1"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Task is an open source, command line, TODO list manager."
    1.11 +TAGS="office todo"
    1.12 +SHORT_DESC="An open source, command line, TODO list manager."
    1.13  MAINTAINER="paul@slitaz.org"
    1.14  LICENSE="MIT"
    1.15 +WEB_SITE="https://taskwarrior.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://taskwarrior.org/"
    1.19 -WGET_URL="http://www.taskwarrior.org/download/$TARBALL"
    1.20 -TAGS="office todo"
    1.21 +WGET_URL="${WEB_SITE}download/$TARBALL"
    1.22  
    1.23 -DEPENDS="ncurses gcc-lib-base util-linux-uuid"
    1.24 -BUILD_DEPENDS="ncurses-dev cmake util-linux-uuid-dev"
    1.25 +DEPENDS="gcc83-lib-base libgnutls ncurses util-linux-uuid"
    1.26 +BUILD_DEPENDS="cmake gcc83 gnutls-dev ncurses-dev util-linux-uuid-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32  	#./configure \
    1.33  		#--prefix=/usr \
    1.34  		#--infodir=/usr/share/info \
    1.35  		#--mandir=/usr/share/man \
    1.36  		#$CONFIGURE_ARGS &&
    1.37 -	cmake . -DCMAKE_INSTALL_PREFIX=/usr
    1.38 -	make && make install
    1.39 +
    1.40 +	export	CC=gcc-83
    1.41 +	export	CXX=g++-83
    1.42 +
    1.43 +	cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
    1.44 +	make &&
    1.45 +	make install
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.49  genpkg_rules()
    1.50  {
    1.51  	mkdir -p $fs/usr/share
    1.52 -	cp -a $install/usr/bin $fs/usr
    1.53 -	cp -a $install/usr/share/doc $fs/usr/share
    1.54 +
    1.55 +	cp -a $install/usr/bin		$fs/usr
    1.56 +	cp -a $install/usr/share/doc	$fs/usr/share
    1.57  }