wok-next view tcpcrypt/receipt @ rev 19863

Up eudev, make-slitaz-icons, ntfs-3g, pcmanfm, polkit, slitaz-base-files, slitaz-boot-scripts, slitaz-icons-paper.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 12 01:34:11 2017 +0300 (2017-09-12)
parents 25aecd618f54
children 0a667524ce79
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 }