wok-current annotate memo/receipt @ rev 24437
updated coreutils packages (8.31 -> 9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 13 17:24:01 2022 +0100 (2022-02-13) |
parents | 626c3828c08f |
children | 241fb98cab1c |
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@24308 | 19 wget -O - $WEB_SITE/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 } |