wok-6.x annotate task/receipt @ rev 24657
updated icewm (1.6.4 -> 2.9.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 07:48:38 2022 +0100 (2022-03-11) |
parents | 2ce8d8e11fff |
children | d531d97128bf |
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 |
pascal@24427 | 20 # What is the latest version available today? |
pascal@24427 | 21 current_version() |
pascal@24427 | 22 { |
pascal@24427 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24427 | 25 } |
pascal@24427 | 26 |
paul@2755 | 27 # Rules to configure and make the package. |
paul@2755 | 28 compile_rules() |
paul@2755 | 29 { |
paul@13521 | 30 #./configure \ |
paul@13521 | 31 #--prefix=/usr \ |
paul@13521 | 32 #--infodir=/usr/share/info \ |
paul@13521 | 33 #--mandir=/usr/share/man \ |
paul@13521 | 34 #$CONFIGURE_ARGS && |
Hans-G?nter@22009 | 35 |
Hans-G?nter@22009 | 36 export CC=gcc-83 |
Hans-G?nter@22009 | 37 export CXX=g++-83 |
Hans-G?nter@22009 | 38 |
Hans-G?nter@22009 | 39 cmake . -DCMAKE_INSTALL_PREFIX=/usr && |
Hans-G?nter@22009 | 40 make && |
Hans-G?nter@22009 | 41 make install |
paul@2755 | 42 } |
paul@2755 | 43 |
paul@2755 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2755 | 45 genpkg_rules() |
paul@2755 | 46 { |
paul@4238 | 47 mkdir -p $fs/usr/share |
Hans-G?nter@22009 | 48 |
Hans-G?nter@22009 | 49 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22009 | 50 cp -a $install/usr/share/doc $fs/usr/share |
paul@2755 | 51 } |