SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tcpcrypt"

# SliTaz package receipt.

PACKAGE="tcpcrypt"
VERSION="0.5"
CATEGORY="network"
SHORT_DESC="Attempts to encrypt (almost) all of your network traffic."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://github.com/scslab/tcpcrypt"    # http://tcpcrypt.org/
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"

DEPENDS="libcrypto libnetfilter_queue libnfnetlink libcap libmnl iptables"
BUILD_DEPENDS="autoconf automake libtool m4 openssl-dev libpcap-dev libmnl \
libnetfilter_conntrack-dev libnetfilter_queue-dev libnfnetlink-dev libcap-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./bootstrap.sh
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/var/run/tcpcryptd
    cp -a $install/usr/bin  $fs/usr
    cp -a $install/usr/lib/*.so*  $fs/usr/lib
    cp -a $src/launch_tcpcryptd.sh $fs/usr/bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)