wok annotate nms/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (2022-05-21)
parents 5ea0ce1cecc0
children 7364ffdaaa60
rev   line source
paul@19551 1 # SliTaz package receipt.
paul@19551 2
paul@19551 3 PACKAGE="nms"
Hans-G?nter@25000 4 VERSION="1.0.1"
paul@19551 5 CATEGORY="utilities"
paul@19551 6 SHORT_DESC="Decrypting effects for text."
paul@19551 7 MAINTAINER="paul@slitaz.org"
paul@19551 8 LICENSE="GPL3"
paul@19551 9 WEB_SITE="https://github.com/bartobri/no-more-secrets"
Hans-G?nter@25000 10 REPOLOGY="no-more-secrets"
Hans-G?nter@25000 11
Hans-G?nter@25000 12 SOURCE="no-more-secrets"
Hans-G?nter@25000 13 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@21242 14 WGET_URL="$WEB_SITE/archive/v$VERSION/$TARBALL"
Hans-G?nter@25000 15
pascal@21242 16 PROVIDE="no-more-secrets"
paul@19551 17 DEPENDS="ncurses"
pascal@21242 18 BUILD_DEPENDS="ncurses-dev"
paul@19551 19
pascal@24055 20 current_version()
pascal@24055 21 {
pascal@24055 22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 23 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 24 }
pascal@24055 25
paul@19551 26 # Rules to configure and make the package.
paul@19551 27 compile_rules()
paul@19551 28 {
pascal@21242 29 make &&
paul@19551 30 make prefix=/usr DESTDIR=$DESTDIR install
paul@19551 31 }
paul@19551 32
paul@19551 33 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@19551 34 genpkg_rules()
paul@19551 35 {
Hans-G?nter@25000 36 cook_copy_folders bin
paul@19551 37 }