wok-current view obfsproxy/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
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 }