wok-current annotate tinyssh-keyconvert/receipt @ rev 25191
updated python-cryptography (2.8 -> 3.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:08:55 2022 +0100 (2022-07-13) |
parents | efbf8f769900 |
children |
rev | line source |
---|---|
pascal@22387 | 1 # SliTaz package receipt. |
pascal@22387 | 2 |
pascal@22387 | 3 PACKAGE="tinyssh-keyconvert" |
pascal@22387 | 4 VERSION="0.3.2" |
pascal@22387 | 5 CATEGORY="development" |
pascal@22387 | 6 SHORT_DESC="Convert ed25519 hostkeys from openssh format" |
pascal@22387 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22387 | 8 LICENSE="GPL3" |
pascal@22387 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@22387 | 10 WEB_SITE="https://github.com/ansemjo/tinyssh-keyconvert" |
pascal@22387 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@22387 | 12 |
pascal@22387 | 13 DEPENDS="python" |
pascal@22387 | 14 BUILD_DEPENDS="python-setuptools" |
pascal@22387 | 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@22387 | 22 # Rules to configure and make the package. |
pascal@22387 | 23 compile_rules() |
pascal@22387 | 24 { |
pascal@22387 | 25 python setup.py build && |
pascal@22387 | 26 python setup.py install --root=$DESTDIR |
pascal@22387 | 27 } |
pascal@22387 | 28 |
pascal@22387 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22387 | 30 genpkg_rules() |
pascal@22387 | 31 { |
pascal@22387 | 32 mkdir -p $fs $install/usr/share/doc |
pascal@22387 | 33 cp -a $install/usr $fs |
pascal@22387 | 34 cp $src/README.md $install/usr/share/doc |
pascal@22387 | 35 } |