wok-current view obfsproxy/receipt @ rev 24569
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 18:46:53 2022 +0000 (2022-02-26) |
parents | 261355c410d6 |
children | 28a7087bc745 |
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="http://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 }