SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "obfsproxy"

# SliTaz package receipt.

PACKAGE="obfsproxy"
# git log --pretty=format:'' | wc -l
VERSION="0.1.4_280"
CATEGORY="network"
SHORT_DESC="A simple obfuscating proxy from the Tor project."
MAINTAINER="pankso@slitaz.org"
LICENSE="BSD"
TARBALL="$PACKAGE-${VERSION#*_}.tar.bz2"
WEB_SITE="https://www.torproject.org/"
WGET_URL="git|http://git.torproject.org/obfsproxy.git "

DEPENDS="libevent libssl"
BUILD_DEPENDS="git wget libevent-dev openssl-dev autoconf automake"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/isislovecruft/obfsproxy-legacy/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./autogen.sh && ./configure $CONFUGURE_ARGS &&
    make && make install 
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)