SUMMARY="Module for the GNOME C++ bindings effort"
DESCRIPTION="The mm-common module provides the build infrastructure and \
utilities shared among the GNOME C++ binding libraries. It is only a \
required dependency for building the C++ bindings from the gnome.org \
version control repository. An installation of mm-common is not required for \
building tarball releases, unless configured to use maintainer-mode."
HOMEPAGE="https://www.gtkmm.org/"
COPYRIGHT="2009 Openismus GmbH"
LICENSE="GNU GPL v2"
REVISION="3"
SOURCE_URI="http://ftp.acc.umu.se/pub/GNOME/sources/mm-common/0.9/mm-common-$portVersion.tar.xz"
CHECKSUM_SHA256="16c0e2bc196b67fbc145edaecb5dbe5818386504fe5703de27002d77140fa217"
SOURCE_DIR="mm-common-$portVersion"

ARCHITECTURES="all"

PROVIDES="
	mm_common = $portVersion
	cmd:mm_common_prepare
	"
REQUIRES="
	haiku
	lib:libcurl
	"

BUILD_REQUIRES="
	haiku_devel
	devel:libcurl
	"
BUILD_PREREQUIRES="
	cmd:aclocal
	cmd:autoconf
	cmd:gcc
	cmd:make
	cmd:wget
	"

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

INSTALL()
{
	make install
}
