wok annotate memo/receipt @ rev 25097

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 18 20:27:19 2022 +0000 (23 months ago)
parents b569b85b0fb9
children 77ec99338524
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"
paul@17292 11 WGET_URL="http://www.ideabyte.net/memo/$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 }