wok-current view task/receipt @ rev 25598
Use default gcc 6.3 for libgtop
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 07:31:59 2023 +0000 (14 months ago) |
parents | 83b97236db32 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="task"
4 VERSION="2.6.2"
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/"
11 REPOLOGY="taskwarrior"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="${WEB_SITE}download/$TARBALL"
16 DEPENDS="gcc83-lib-base libgnutls libunistring ncurses
17 util-linux-uuid"
18 BUILD_DEPENDS="cmake gcc83 gnutls-dev libgnutls libunistring-dev
19 ncurses-dev util-linux-uuid-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 export CC=gcc-83
32 export CXX=g++-83
34 mkdir _build &&
35 cd _build &&
36 cmake .. \
37 -D CMAKE_INSTALL_PREFIX=/usr &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 cook_copy_folders bin
46 cook_copy_folders rc
47 cook_copy_folders scripts
48 }