wok-next diff tcpcrypt/receipt @ rev 17068

Add tcpcrypt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 22 16:10:45 2014 +0200 (2014-08-22)
parents
children d6187dea9deb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tcpcrypt/receipt	Fri Aug 22 16:10:45 2014 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tcpcrypt"
     1.7 +VERSION="20140821"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Attempts to encrypt (almost) all of your network traffic."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +WEB_SITE="http://tcpcrypt.org/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="git|git://github.com/scslab/tcpcrypt.git" 
    1.15 +
    1.16 +DEPENDS="libcrypto libnetfilter_queue libnfnetlink libcap libmnl"
    1.17 +BUILD_DEPENDS="git autoconf automake libtool openssl-dev \
    1.18 +libnetfilter_queue-dev libnfnetlink-dev libcap-dev libmnl"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src/user
    1.24 +	./bootstrap.sh
    1.25 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib
    1.34 +	cp -a $install/usr/bin  $fs/usr
    1.35 +	cp -a $install/usr/lib/*.so*  $fs/usr/lib
    1.36 +}