wok-current annotate 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 |
rev | line source |
---|---|
paul@2755 | 1 # SliTaz package receipt. |
paul@2755 | 2 |
paul@2755 | 3 PACKAGE="task" |
Hans-G?nter@22009 | 4 VERSION="2.5.1" |
paul@2755 | 5 CATEGORY="utilities" |
Hans-G?nter@22009 | 6 TAGS="office todo" |
Hans-G?nter@22009 | 7 SHORT_DESC="An open source, command line, TODO list manager." |
paul@2755 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15600 | 9 LICENSE="MIT" |
Hans-G?nter@22009 | 10 WEB_SITE="https://taskwarrior.org/" |
Hans-G?nter@22009 | 11 |
paul@2755 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22009 | 13 WGET_URL="${WEB_SITE}download/$TARBALL" |
paul@2755 | 14 |
Hans-G?nter@22909 | 15 DEPENDS="gcc83-lib-base libgnutls libunistring ncurses |
Hans-G?nter@22909 | 16 util-linux-uuid" |
Hans-G?nter@22909 | 17 BUILD_DEPENDS="cmake gcc83 gnutls-dev libgnutls libunistring-dev |
Hans-G?nter@22909 | 18 ncurses-dev util-linux-uuid-dev" |
pascal@15600 | 19 |
paul@2755 | 20 # Rules to configure and make the package. |
paul@2755 | 21 compile_rules() |
paul@2755 | 22 { |
paul@13521 | 23 #./configure \ |
paul@13521 | 24 #--prefix=/usr \ |
paul@13521 | 25 #--infodir=/usr/share/info \ |
paul@13521 | 26 #--mandir=/usr/share/man \ |
paul@13521 | 27 #$CONFIGURE_ARGS && |
Hans-G?nter@22009 | 28 |
Hans-G?nter@22009 | 29 export CC=gcc-83 |
Hans-G?nter@22009 | 30 export CXX=g++-83 |
Hans-G?nter@22009 | 31 |
Hans-G?nter@22009 | 32 cmake . -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@22009 | 33 make && |
Hans-G?nter@22009 | 34 make install |
paul@2755 | 35 } |
paul@2755 | 36 |
paul@2755 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2755 | 38 genpkg_rules() |
paul@2755 | 39 { |
paul@4238 | 40 mkdir -p $fs/usr/share |
Hans-G?nter@22009 | 41 |
Hans-G?nter@22009 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22009 | 43 cp -a $install/usr/share/doc $fs/usr/share |
paul@2755 | 44 } |