SUMMARY="NetSurf build framework"
DESCRIPTION="NetSurf build framework for compiling some of their libraries."
HOMEPAGE="https://git.netsurf-browser.org/buildsystem.git/"
COPYRIGHT="2009-2020 The NetSurf Browser project"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://download.netsurf-browser.org/libs/releases/buildsystem-$portVersion.tar.gz"
SOURCE_FILENAME="netsurf-buildsystem-$portVersion.tar.gz"
SOURCE_DIR="buildsystem-$portVersion"
CHECKSUM_SHA256="93841e314a688209a20b8745f065393f3a90f01be68f45e96bc8d2f4a2aa9a2a"

ARCHITECTURES="any"
DISABLE_SOURCE_PACKAGE="yes"

PROVIDES="
	netsurf_buildsystem = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:make
	"

BUILD()
{
	# no-op
	true
}

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