wok-next annotate tcpcrypt/receipt @ rev 18265
Add perl-crypt-blowfish
author | Nathan Neulinger <nneul@neulinger.org> |
---|---|
date | Thu Aug 06 02:14:05 2015 +0000 (2015-08-06) |
parents | 25aecd618f54 |
children | 0a667524ce79 |
rev | line source |
---|---|
pascal@17068 | 1 # SliTaz package receipt. |
pascal@17068 | 2 |
pascal@17068 | 3 PACKAGE="tcpcrypt" |
pascal@17068 | 4 VERSION="20140821" |
pascal@17068 | 5 CATEGORY="network" |
pascal@17068 | 6 SHORT_DESC="Attempts to encrypt (almost) all of your network traffic." |
pascal@17068 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17068 | 8 LICENSE="BSD" |
pascal@17068 | 9 WEB_SITE="http://tcpcrypt.org/" |
pascal@17071 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@17068 | 11 WGET_URL="git|git://github.com/scslab/tcpcrypt.git" |
pascal@17068 | 12 |
pascal@17069 | 13 DEPENDS="libcrypto libnetfilter_queue libnfnetlink libcap libmnl iptables" |
pascal@17068 | 14 BUILD_DEPENDS="git autoconf automake libtool openssl-dev \ |
pascal@17070 | 15 libnetfilter_queue-dev libnfnetlink-dev libcap-dev libmnl m4" |
pascal@17068 | 16 |
pascal@17068 | 17 # Rules to configure and make the package. |
pascal@17068 | 18 compile_rules() |
pascal@17068 | 19 { |
pascal@17068 | 20 cd $src/user |
pascal@17071 | 21 mkdir m4 |
pascal@17068 | 22 ./bootstrap.sh |
pascal@17068 | 23 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@17068 | 24 make && |
pascal@17068 | 25 make DESTDIR=$DESTDIR install |
pascal@17068 | 26 } |
pascal@17068 | 27 |
pascal@17068 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17068 | 29 genpkg_rules() |
pascal@17068 | 30 { |
pascal@17069 | 31 mkdir -p $fs/usr/lib $fs/var/run/tcpcryptd |
pascal@17068 | 32 cp -a $install/usr/bin $fs/usr |
pascal@17068 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17069 | 34 cp -a $src/user/launch_tcpcryptd.sh $fs/usr/bin |
pascal@17068 | 35 } |