SUMMARY="A module that is required only when building GNOME from the repository"
DESCRIPTION="This module contains various files needed to bootstrap GNOME \
modules built from git."
HOMEPAGE="http://git.gnome.org/browse/gnome-common/"
COPYRIGHT="1999-2010 Martin Baulig"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="http://ftp.gnome.org/pub/GNOME/sources/gnome-common/3.18/gnome-common-3.18.0.tar.xz"
CHECKSUM_SHA256="22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf"
SOURCE_DIR="gnome-common-3.18.0"

ARCHITECTURES="?all x86_gcc2"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
	gnome_common$secondaryArchSuffix = $portVersion
	cmd:gnome_autogen.sh$secondaryArchSuffix = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	"
BUILD_PREREQUIRES="
	cmd:autoconf
	cmd:automake
	cmd:autoreconf
	cmd:make
	"

BUILD()
{
		./autogen.sh
        runConfigure ./configure
        make
}

INSTALL()
{
        make install
}
