SUMMARY="FreePascalCompiler binary"
DESCRIPTION="FreePascalCompiler binary"
HOMEPAGE="http://www.freepascal.org"
SRC_URI="ftp://freepascal.stack.nl/pub/fpc/dist/2.6.0/i386-haiku/fpc-2.6.0.i386-haiku.tar"
CHECKSUM_SHA256="abec33111d1d88dcce96cf26498b3687d53aa29494c6a8aada16b9b0625eef95"
LICENSE="
	GNU LGPL v3
	GNU GPL v3
"
COPYRIGHT="1993-2013 by Florian Klaempfl"
REVISION="1"

DISABLE_SOURCE_PACKAGE=yes

BUILD_ACTIVATION_PHASE="INSTALL"

ARCHITECTURES="x86"

PROVIDES="
	fpc = $portVersion
	cmd:fpc = $portVersion
"
REQUIRES="
	haiku$secondaryArchSuffix >= $haikuVersion
"
BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
	binutils
	cmd:tar
"
SOURCE_DIR="fpc-2.6.0.i386-haiku"

BUILD()
{
	echo "Please put as prefix: $prefix"
	sh ./install.sh
}
INSTALL()
{
	true
}
