wok view tcpcrypt/receipt @ rev 17069

Add tcpcrypt (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 22 16:14:59 2014 +0200 (2014-08-22)
parents 61f41b68cfb7
children 25aecd618f54
line source
1 # SliTaz package receipt.
3 PACKAGE="tcpcrypt"
4 VERSION="20140821"
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="http://tcpcrypt.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="git|git://github.com/scslab/tcpcrypt.git"
13 DEPENDS="libcrypto libnetfilter_queue libnfnetlink libcap libmnl iptables"
14 BUILD_DEPENDS="git autoconf automake libtool openssl-dev \
15 libnetfilter_queue-dev libnfnetlink-dev libcap-dev libmnl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/user
21 ./bootstrap.sh
22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/var/run/tcpcryptd
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $src/user/launch_tcpcryptd.sh $fs/usr/bin
34 }