wok-6.x annotate sshfp/receipt @ rev 24285
updated slurm (0.3.3 -> 0.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 13 13:36:16 2022 +0100 (2022-01-13) |
parents | 20661c276bcf |
children | ac8ca9758df1 |
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@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@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 } |