wok annotate hash-slinger/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 034f0bc3a3ec
children 20ad21d5532c
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@24055 16 current_version()
pascal@24055 17 {
pascal@24055 18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 20 }
pascal@24055 21
pascal@18374 22 # Rules to configure and make the package.
pascal@18374 23 compile_rules()
pascal@18374 24 {
Hans-G?nter@22923 25 make &&
pascal@18374 26 make DESTDIR=$DESTDIR install
pascal@18374 27 }
pascal@18374 28
pascal@18374 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18374 30 genpkg_rules()
pascal@18374 31 {
pascal@18374 32 mkdir -p $fs/usr
Hans-G?nter@22923 33 cp -a $install/usr/bin $fs/usr
pascal@18374 34 }