wok annotate obfsproxy/receipt @ rev 25694

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