wok annotate hash-slinger/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (6 weeks ago)
parents 5ea0ce1cecc0
children
rev   line source
pascal@18374 1 # SliTaz package receipt.
pascal@18374 2
pascal@18374 3 PACKAGE="hash-slinger"
Hans-G?nter@22923 4 VERSION="3.0"
pascal@18374 5 CATEGORY="network"
pascal@18374 6 SHORT_DESC="Various tools to generate special DNS records."
pascal@18374 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18374 8 LICENSE="GPL2"
Hans-G?nter@22923 9 WEB_SITE="https://github.com/letoams/hash-slinger"
Hans-G?nter@21028 10
pascal@18374 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22923 12 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
pascal@18374 13
pascal@18374 14 DEPENDS="python"
pascal@18374 15
pascal@25599 16 # What is the latest version available today?
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@25599 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
pascal@24055 21 }
pascal@24055 22
pascal@18374 23 # Rules to configure and make the package.
pascal@18374 24 compile_rules()
pascal@18374 25 {
Hans-G?nter@22923 26 make &&
pascal@18374 27 make DESTDIR=$DESTDIR install
pascal@18374 28 }
pascal@18374 29
pascal@18374 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18374 31 genpkg_rules()
pascal@18374 32 {
pascal@18374 33 mkdir -p $fs/usr
Hans-G?nter@22923 34 cp -a $install/usr/bin $fs/usr
pascal@18374 35 }