wok view task/receipt @ rev 24516
updated enet (1.3.14 -> 1.3.17)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 07:39:01 2022 +0100 (2022-02-22) |
parents | 2ce8d8e11fff |
children | d531d97128bf |
line source
1 # SliTaz package receipt.
3 PACKAGE="task"
4 VERSION="2.5.1"
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/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="${WEB_SITE}download/$TARBALL"
15 DEPENDS="gcc83-lib-base libgnutls libunistring ncurses
16 util-linux-uuid"
17 BUILD_DEPENDS="cmake gcc83 gnutls-dev libgnutls libunistring-dev
18 ncurses-dev util-linux-uuid-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 #./configure \
31 #--prefix=/usr \
32 #--infodir=/usr/share/info \
33 #--mandir=/usr/share/man \
34 #$CONFIGURE_ARGS &&
36 export CC=gcc-83
37 export CXX=g++-83
39 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
40 make &&
41 make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/share
49 cp -a $install/usr/bin $fs/usr
50 cp -a $install/usr/share/doc $fs/usr/share
51 }