SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "crypthook"

# SliTaz package receipt.

PACKAGE="crypthook"
GITHASH="0728cd191f0638f52f8d6af8a9482a4996322ffc"
VERSION=${GITHASH:0:7}
CATEGORY="security"
SHORT_DESC="TCP/UDP symmetric encryption tunnel wrapper."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
TARBALL="$PACKAGE-$VERSION.zip"
WEB_SITE="https://github.com/chokepoint/CryptHook"
WGET_URL="$WEB_SITE/archive/$GITHASH.zip"

DEPENDS="libcrypto"
BUILD_DEPENDS="openssl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $install/usr/share/doc
    cp -a $src/README.md $install/usr/share/doc
    cp -a $src/crypthook.so $fs/usr/lib
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)