wok annotate sshfp/receipt @ rev 25421
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 10 07:02:08 2022 +0000 (2022-08-10) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@18109 | 1 # SliTaz package receipt. |
pascal@18109 | 2 |
pascal@18109 | 3 PACKAGE="sshfp" |
pascal@18109 | 4 VERSION="1.2.2" |
pascal@18109 | 5 CATEGORY="network" |
pascal@18109 | 6 SHORT_DESC="DNS SSHFP records generator." |
pascal@18109 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18109 | 8 LICENSE="GPL2" |
pascal@18109 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20682 | 10 WEB_SITE="https://github.com/xelerance/sshfp" |
pascal@18109 | 11 WGET_URL="https://github.com/xelerance/sshfp/archive/$VERSION.tar.gz" |
pascal@18109 | 12 |
pascal@18109 | 13 DEPENDS="python-dnspython" |
pascal@18109 | 14 BUILD_DEPENDS="wget" |
pascal@18109 | 15 |
pascal@24055 | 16 current_version() |
pascal@24055 | 17 { |
pascal@24299 | 18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 20 } |
pascal@24055 | 21 |
pascal@18109 | 22 # Rules to configure and make the package. |
pascal@18109 | 23 compile_rules() |
pascal@18109 | 24 { |
pascal@18109 | 25 make && |
pascal@18109 | 26 make DESTDIR=$DESTDIR install |
pascal@18109 | 27 } |
pascal@18109 | 28 |
pascal@18109 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18109 | 30 genpkg_rules() |
pascal@18109 | 31 { |
pascal@18109 | 32 mkdir -p $fs/usr |
pascal@18109 | 33 cp -a $install/usr/bin $fs/usr |
pascal@18109 | 34 } |