wok-current annotate memo/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 241fb98cab1c |
children |
rev | line source |
---|---|
paul@17292 | 1 # SliTaz package receipt. |
paul@17292 | 2 |
paul@17292 | 3 PACKAGE="memo" |
paul@17292 | 4 VERSION="1.0" |
paul@17292 | 5 CATEGORY="office" |
paul@17292 | 6 SHORT_DESC="Memo is a command line, Unix-style note-taking software." |
paul@17292 | 7 MAINTAINER="paul@slitaz.org" |
paul@17292 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@17292 | 9 LICENSE="GPL3" |
pascal@24308 | 10 WEB_SITE="https://github.com/mrVanDalo/memo" |
pascal@25113 | 11 WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" |
paul@17292 | 12 |
paul@17292 | 13 DEPENDS="ncurses" |
paul@17292 | 14 BUILD_DEPENDS="ncurses-dev" |
paul@17292 | 15 |
pascal@24308 | 16 # What is the latest version available today? |
pascal@24308 | 17 current_version() |
pascal@24308 | 18 { |
pascal@24453 | 19 wget -O - https://github.com/anttiviljami/memo/tags 2>/dev/null | \ |
pascal@24308 | 20 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 21 } |
pascal@24308 | 22 |
paul@17292 | 23 # Rules to configure and make the package. |
paul@17292 | 24 compile_rules() |
paul@17292 | 25 { |
paul@17292 | 26 make |
paul@17292 | 27 } |
paul@17292 | 28 |
paul@17292 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17292 | 30 genpkg_rules() |
paul@17292 | 31 { |
paul@17292 | 32 mkdir -p $fs/usr/bin |
paul@17292 | 33 cp -a $src/$PACKAGE $fs/usr/bin |
paul@17292 | 34 } |