SUMMARY="Making C application development easier"
DESCRIPTION="The libggz library is a collection of small utility functions. It \
consists of the modules easysock (socket creation, reading/writing data and so \
on), xml (xml helper functions), security (hash calculation functions), \
lists/stack (for data structures), conf (configuration file handling) and \
debug (debugging)."
HOMEPAGE="http://dev.ggzgamingzone.org/libraries/libggz/"
COPYRIGHT="2003-2009 The GGZ Development Team"
LICENSE="GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/snapshots/ggz-base-libs-snapshot-0.99.5.tar.gz"
CHECKSUM_SHA256="b32dae84ea47db6dfb8dbae24fb20fcc71b958ea2d7efb9eff66c8e5c0db81b3"
SOURCE_DIR="ggz-base-libs-snapshot-$portVersion"

ARCHITECTURES="x86_gcc2"

PROVIDES="
	libggz = $portVersion
"

BUILD_REQUIRES="
	haiku_devel
	devel:libintl
"
BUILD_PREREQUIRES="
	cmd:aclocal
	cmd:autoconf
	cmd:gcc
	cmd:libtoolize
	cmd:make
"

BUILD()
{
	libtoolize -fci
	aclocal -I m4 -I m4/ggz
	autoconf
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}
