wok annotate task/receipt @ rev 22599
Up snapper (0.8.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 07 19:13:38 2020 +0100 (2020-01-07) |
parents | d7bcdb8f5834 |
children | 2ce8d8e11fff |
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@22009 | 15 DEPENDS="gcc83-lib-base libgnutls ncurses util-linux-uuid" |
pascal@22599 | 16 BUILD_DEPENDS="cmake gcc83 libgnutls gnutls-dev ncurses-dev util-linux-uuid-dev" |
pascal@15600 | 17 |
paul@2755 | 18 # Rules to configure and make the package. |
paul@2755 | 19 compile_rules() |
paul@2755 | 20 { |
paul@13521 | 21 #./configure \ |
paul@13521 | 22 #--prefix=/usr \ |
paul@13521 | 23 #--infodir=/usr/share/info \ |
paul@13521 | 24 #--mandir=/usr/share/man \ |
paul@13521 | 25 #$CONFIGURE_ARGS && |
Hans-G?nter@22009 | 26 |
Hans-G?nter@22009 | 27 export CC=gcc-83 |
Hans-G?nter@22009 | 28 export CXX=g++-83 |
Hans-G?nter@22009 | 29 |
Hans-G?nter@22009 | 30 cmake . -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@22009 | 31 make && |
Hans-G?nter@22009 | 32 make install |
paul@2755 | 33 } |
paul@2755 | 34 |
paul@2755 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2755 | 36 genpkg_rules() |
paul@2755 | 37 { |
paul@4238 | 38 mkdir -p $fs/usr/share |
Hans-G?nter@22009 | 39 |
Hans-G?nter@22009 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22009 | 41 cp -a $install/usr/share/doc $fs/usr/share |
paul@2755 | 42 } |