SUMMARY="NetSurf build framework" 
DESCRIPTION="
NetSurf build framework for compiling some of their libraries.
" 
HOMEPAGE="http://git.netsurf-browser.org/buildsystem.git/"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/buildsystem-1.1.tar.gz"
CHECKSUM_SHA256="5c092afe653d1c6c0fadb39cc47659471e4741fdd2803127be42db4264e3ac44"
REVISION="1"
LICENSE="MIT"
COPYRIGHT="2009 - 2013 The NetSurf Browser project"

ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"

PROVIDES="
	netsurf_buildsystem$secondaryArchSuffix = $portVersion
	"

REQUIRES="
	haiku$secondaryArchSuffix
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	"

BUILD_PREREQUIRES="
	cmd:gcc$secondaryArchSuffix
	cmd:ld$secondaryArchSuffix
	cmd:make
	"

SOURCE_DIR="buildsystem-1.1"
PATCHES="netsurf_buildsystem-1.1.patchset"
BUILD()
{
	# no-op
	true
}

INSTALL()
{
	make install PREFIX=$prefix BASE=$prefix/data/netsurf-buildsystem
}

