wok view tinyssh-keyconvert/receipt @ rev 24139

Add redupe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 09 17:05:26 2021 +0000 (2021-11-09)
parents efbf8f769900
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="tinyssh-keyconvert"
4 VERSION="0.3.2"
5 CATEGORY="development"
6 SHORT_DESC="Convert ed25519 hostkeys from openssh format"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/ansemjo/tinyssh-keyconvert"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="python"
14 BUILD_DEPENDS="python-setuptools"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 python setup.py build &&
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs $install/usr/share/doc
33 cp -a $install/usr $fs
34 cp $src/README.md $install/usr/share/doc
35 }