wok-next annotate tcpcrypt/receipt @ rev 21469
updated tinc (1.0.25 -> 1.0.36)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 13 07:41:00 2020 +0100 (2020-05-13) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@19957 | 1 # SliTaz package receipt v2. |
pascal@17068 | 2 |
pascal@17068 | 3 PACKAGE="tcpcrypt" |
al@19957 | 4 VERSION="0.5" |
pascal@17068 | 5 CATEGORY="network" |
al@19957 | 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@21146 | 9 WEB_SITE="https://github.com/sorbo/tcpcrypt" # http://tcpcrypt.org/ |
pascal@17068 | 10 |
al@19957 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19957 | 12 WGET_URL="http://tcpcrypt.org/$TARBALL" |
pascal@17068 | 13 |
al@19957 | 14 BUILD_DEPENDS="automake libtool libnetfilter_queue-dev \ |
al@19957 | 15 libnetfilter_conntrack-dev openssl-dev libpcap-dev libcap-dev" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@19957 | 17 |
al@19957 | 18 compile_rules() { |
al@19957 | 19 ./bootstrap.sh && |
al@20604 | 20 ./configure $CONFIGURE_ARGS && |
al@20604 | 21 fix libtool && |
al@20604 | 22 make && |
al@20604 | 23 make install || return 1 |
al@19957 | 24 |
al@19957 | 25 mkdir -p $install/var/run/tcpcryptd |
pascal@17068 | 26 } |
pascal@17068 | 27 |
al@19957 | 28 genpkg_rules() { |
al@19957 | 29 case $PACKAGE in |
al@19957 | 30 tcpcrypt) |
al@19957 | 31 copy @std |
al@20453 | 32 DEPENDS="libcap openssl libmnl libnetfilter_conntrack \ |
al@19957 | 33 libnetfilter_queue libnfnetlink libpcap" |
al@19957 | 34 ;; |
al@19957 | 35 *-dev) |
al@19957 | 36 copy @dev |
al@19957 | 37 ;; |
al@19957 | 38 esac |
pascal@17068 | 39 } |