SUMMARY="A general-purpose preprocessor"
DESCRIPTION="GPP is a general-purpose preprocessor with customizable syntax, \
suitable for a wide range of preprocessing tasks. Its independence from any \
programming language makes it much more versatile than cpp, while its syntax \
is lighter and more flexible than that of m4."
HOMEPAGE="http://files.nothingisreal.com/software/gpp/gpp.html"
COPYRIGHT="1996–2001 Denis Auroux
	2003-2004 Tristan Miller"
LICENSE="GPP"
REVISION="1"
SOURCE_URI="https://github.com/logological/gpp/archive/2.25.tar.gz"
CHECKSUM_SHA256="7c6c927fde33a43fadbe14c5ab9067742fa72321d6ed95eaae4ae36b269131a0"

ARCHITECTURES="all"

PROVIDES="
	gpp
	cmd:gpp
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:aclocal
	cmd:autoconf
	cmd:awk
	cmd:gcc
	cmd:make
	"

BUILD()
{
	autoreconf -vfi
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}
