wok annotate calcurse/receipt @ rev 24567
sokojs: add shrink.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 15:02:05 2022 +0000 (2022-02-26) |
parents | 5ac01c6c6cec |
children |
rev | line source |
---|---|
paul@4624 | 1 # SliTaz package receipt. |
paul@4624 | 2 |
paul@4624 | 3 PACKAGE="calcurse" |
Hans-G?nter@24393 | 4 VERSION="4.7.1" |
paul@4624 | 5 CATEGORY="office" |
Hans-G?nter@20766 | 6 TAGS="calendar reminder schedule" |
paul@4624 | 7 SHORT_DESC="Text-based calender and scheduling application." |
paul@4624 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15579 | 9 LICENSE="BSD" |
Hans-G?nter@20766 | 10 WEB_SITE="https://calcurse.org/" |
Hans-G?nter@20766 | 11 |
paul@4624 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22579 | 13 WGET_URL="${WEB_SITE}files/$TARBALL" |
paul@4624 | 14 |
slaxemulator@10284 | 15 DEPENDS="ncurses ncursesw" |
slaxemulator@10284 | 16 BUILD_DEPENDS="ncurses-dev" |
slaxemulator@10284 | 17 |
pascal@24396 | 18 # What is the latest version available today? |
pascal@24396 | 19 current_version() |
pascal@24396 | 20 { |
pascal@24396 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24396 | 22 sed '/source/!d;s|.*calcurse ||;s| .*||' |
pascal@24396 | 23 } |
pascal@24396 | 24 |
paul@4624 | 25 # Rules to configure and make the package. |
paul@4624 | 26 compile_rules() |
paul@4624 | 27 { |
Hans-G?nter@22579 | 28 ./configure \ |
Hans-G?nter@22579 | 29 --disable-nls \ |
Hans-G?nter@22579 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@20766 | 31 make && |
Hans-G?nter@20766 | 32 make install |
paul@4624 | 33 } |
paul@4624 | 34 |
paul@4624 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4624 | 36 genpkg_rules() |
paul@4624 | 37 { |
Hans-G?nter@24393 | 38 cook_copy_folders bin |
paul@4624 | 39 } |