# SliTaz package receipt.

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

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

# 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
}