SUMMARY="A web proxy with advanced filtering capabilities"
DESCRIPTION="Privoxy is a non-caching web proxy with advanced filtering \
capabilities for enhancing privacy, modifying web page data and HTTP headers, \
controlling access, and removing ads and other obnoxious Internet junk.
Privoxy has a flexible configuration and can be customized to suit individual \
needs and tastes. It has application for both stand-alone systems and multi-\
user networks."
HOMEPAGE="http://www.privoxy.org/"
COPYRIGHT="2001-2011 Privoxy Developers"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://sourceforge.net/projects/ijbswa/files/Sources/3.0.21%20%28stable%29/privoxy-3.0.21-stable-src.tar.gz"
SOURCE_DIR="privoxy-3.0.21-stable"

ARCHITECTURES="x86_gcc2 x86 !ppc"
CHECKSUM_SHA256="5ec7e601948d2bd0ebf0ebe90eed7d49e7663c395ce16d0403e91ea2d459ddb8"

PROVIDES="
	cmd:privoxy = $portVersion
	"
REQUIRES="
	haiku 
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:autoheader
	cmd:autoconf
	cmd:make
	cmd:grep
	cmd:sed
	cmd:g++
	cmd:find
	"

BUILD()
{
	host_os=haiku
	autoheader
	autoconf
	runConfigure ./configure
	make
}

INSTALL()
{
	host_os=haiku
	make install USER=privoxy
}
