wok view tcpcrypt/receipt @ rev 19184
Up slitaz-tools(992)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jun 04 14:08:33 2016 +0300 (2016-06-04) |
parents | 25aecd618f54 |
children | aa1584474883 |
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.bz2"
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 m4"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/user
21 mkdir m4
22 ./bootstrap.sh
23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/var/run/tcpcryptd
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $src/user/launch_tcpcryptd.sh $fs/usr/bin
35 }