wok-6.x annotate tcpcrypt/receipt @ rev 24168
updated osm2pgrouting (2.3.6 -> 2.3.8)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 06:29:35 2021 +0100 (2021-12-29) |
parents | 5a902d3aec25 |
children | ac8ca9758df1 |
rev | line source |
---|---|
pascal@17068 | 1 # SliTaz package receipt. |
pascal@17068 | 2 |
pascal@17068 | 3 PACKAGE="tcpcrypt" |
pascal@21234 | 4 VERSION="0.5" |
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@21234 | 9 WEB_SITE="https://github.com/scslab/tcpcrypt" # http://tcpcrypt.org/ |
pascal@21234 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21234 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@17068 | 12 |
pascal@17069 | 13 DEPENDS="libcrypto libnetfilter_queue libnfnetlink libcap libmnl iptables" |
pascal@21234 | 14 BUILD_DEPENDS="autoconf automake libtool m4 openssl-dev libpcap-dev libmnl \ |
pascal@21234 | 15 libnetfilter_conntrack-dev libnetfilter_queue-dev libnfnetlink-dev libcap-dev" |
pascal@17068 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@17068 | 23 # Rules to configure and make the package. |
pascal@17068 | 24 compile_rules() |
pascal@17068 | 25 { |
pascal@17068 | 26 ./bootstrap.sh |
pascal@17068 | 27 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@17068 | 28 make && |
pascal@17068 | 29 make DESTDIR=$DESTDIR install |
pascal@17068 | 30 } |
pascal@17068 | 31 |
pascal@17068 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17068 | 33 genpkg_rules() |
pascal@17068 | 34 { |
pascal@17069 | 35 mkdir -p $fs/usr/lib $fs/var/run/tcpcryptd |
pascal@17068 | 36 cp -a $install/usr/bin $fs/usr |
pascal@17068 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@21234 | 38 cp -a $src/launch_tcpcryptd.sh $fs/usr/bin |
pascal@17068 | 39 } |