wok view task/receipt @ rev 22909

task: added build dependency libunistring-dev
author Hans-G?nter Theisgen
date Mon Feb 24 07:33:52 2020 +0100 (2020-02-24)
parents ca70cc6b85be
children 83b97236db32
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 #./configure \
24 #--prefix=/usr \
25 #--infodir=/usr/share/info \
26 #--mandir=/usr/share/man \
27 #$CONFIGURE_ARGS &&
29 export CC=gcc-83
30 export CXX=g++-83
32 cmake . -DCMAKE_INSTALL_PREFIX=/usr &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/share/doc $fs/usr/share
44 }