wok-current annotate crypthook/receipt @ rev 25568
updated amule (2.3.2 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 12 21:18:30 2023 +0100 (20 months ago) |
parents | e7715725d95b |
children |
rev | line source |
---|---|
pascal@19907 | 1 # SliTaz package receipt. |
pascal@19907 | 2 |
pascal@19907 | 3 PACKAGE="crypthook" |
pascal@19907 | 4 GITHASH="0728cd191f0638f52f8d6af8a9482a4996322ffc" |
pascal@19907 | 5 VERSION=${GITHASH:0:7} |
pascal@19907 | 6 CATEGORY="security" |
pascal@19907 | 7 SHORT_DESC="TCP/UDP symmetric encryption tunnel wrapper." |
pascal@19907 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19907 | 9 LICENSE="MIT" |
pascal@19907 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@19907 | 11 WEB_SITE="https://github.com/chokepoint/CryptHook" |
pascal@19907 | 12 WGET_URL="$WEB_SITE/archive/$GITHASH.zip" |
pascal@19907 | 13 |
pascal@19907 | 14 DEPENDS="libcrypto" |
pascal@19907 | 15 BUILD_DEPENDS="openssl-dev" |
pascal@19907 | 16 |
pascal@24308 | 17 # What is the latest version available today? |
pascal@24308 | 18 current_version() |
pascal@24308 | 19 { |
pascal@24308 | 20 wget -O - $WEB_SITE/tags 2>/dev/null | \ |
pascal@24308 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 22 } |
pascal@24308 | 23 |
pascal@19907 | 24 # Rules to configure and make the package. |
pascal@19907 | 25 compile_rules() |
pascal@19907 | 26 { |
pascal@19907 | 27 make |
pascal@19907 | 28 } |
pascal@19907 | 29 |
pascal@19907 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19907 | 31 genpkg_rules() |
pascal@19907 | 32 { |
pascal@19907 | 33 mkdir -p $fs/usr/lib $install/usr/share/doc |
pascal@19907 | 34 cp -a $src/README.md $install/usr/share/doc |
pascal@19907 | 35 cp -a $src/crypthook.so $fs/usr/lib |
pascal@19907 | 36 } |
pascal@19907 | 37 |