wok-6.x view tcpcrypt/receipt @ rev 24168
updated osm2pgrouting (2.3.6 -> 2.3.8)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 06:29:35 2021 +0100 (2021-12-29) |
parents | 5a902d3aec25 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpcrypt"
4 VERSION="0.5"
5 CATEGORY="network"
6 SHORT_DESC="Attempts to encrypt (almost) all of your network traffic."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/scslab/tcpcrypt" # http://tcpcrypt.org/
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="libcrypto libnetfilter_queue libnfnetlink libcap libmnl iptables"
14 BUILD_DEPENDS="autoconf automake libtool m4 openssl-dev libpcap-dev libmnl \
15 libnetfilter_conntrack-dev libnetfilter_queue-dev libnfnetlink-dev libcap-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./bootstrap.sh
27 ./configure --prefix=/usr $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/var/run/tcpcryptd
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $src/launch_tcpcryptd.sh $fs/usr/bin
39 }