DESCRIPTION="SWI Prolog. Stable and free standard Prolog implementation"
HOMEPAGE="http://www.swi-prolog.org/"
SRC_URI="http://www.swi-prolog.org/download/stable/src/pl-6.0.2.tar.gz"
CHECKSUM_MD5="dcde1c50713317d0f5093dd2dedc1bd0"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="dev-libs/gmp >= 5.0.5
		sys-libs/readline >= 6.2"
BUILD()
{
		cd pl-6.0.2/src
		libtoolize -fci
		autoreconf
		LDFLAGS=-L/boot/common/lib CFLAGS=-I/boot/common/include ./configure --prefix=$(finddir B_COMMON_DIRECTORY)
		make
}

INSTALL()
{
		cd pl-6.0.2/src
		make install
}

TEST()
{
		cd pl-6.0.2/src
		make check
}

LICENSE="GNU LGPL v2.1
		SWI-Prolog"
COPYRIGHT="1985-2010, University of Amsterdam, VU University Amsterdam"
