wok view crypthook/receipt @ rev 25037

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