wok view obfsproxy/receipt @ rev 24781

Up ntk (1.3.1001)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 20 10:32:22 2022 +0000 (2022-03-20)
parents b9659e3c2111
children
line source
1 # SliTaz package receipt.
3 PACKAGE="obfsproxy"
4 # git log --pretty=format:'' | wc -l
5 VERSION="0.1.4_280"
6 CATEGORY="network"
7 SHORT_DESC="A simple obfuscating proxy from the Tor project."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$PACKAGE-${VERSION#*_}.tar.bz2"
11 WEB_SITE="https://www.torproject.org/"
12 WGET_URL="git|http://git.torproject.org/obfsproxy.git "
14 DEPENDS="libevent libssl"
15 BUILD_DEPENDS="git wget libevent-dev openssl-dev autoconf automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/isislovecruft/obfsproxy-legacy/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./autogen.sh && ./configure $CONFUGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }