Files
haikuports/dev-lang/swi_prolog/swi_prolog-6.2.0.recipe
Oliver Tappe 52b344b97b Drop references to $haikuVersion.
* Referring the current haiku version explicitly is not needed, since
  the RequiresUpdater takes care of setting the version of Haiku used
  for building a package.
2014-12-14 23:08:52 +01:00

75 lines
1.8 KiB
Plaintext

SUMMARY="SWI Prolog. Stable and free standard Prolog implementation"
DESCRIPTION="
SWI-Prolog is an open source implementation of the programming language Prolog, \
commonly used for teaching and semantic web applications. It has a rich set of \
features, libraries for constraint logic programming, multithreading, unit \
testing, GUI, interfacing to Java, ODBC and others, literate programming, a web \
server, SGML, RDF, RDFS, developer tools (including an IDE with a GUI debugger \
and GUI profiler), and extensive documentation.
"
HOMEPAGE="http://www.swi-prolog.org/"
SRC_URI="http://www.swi-prolog.org/download/stable/src/pl-6.2.0.tar.gz"
CHECKSUM_SHA256="be358eacd50bc7013cdcdd1aa763e67c5b1d40f7bbf1833a7a48c0123a6455a8"
LICENSE="
GNU LGPL v2.1
SWI-Prolog
"
COPYRIGHT="1985-2012, University of Amsterdam, VU University Amsterdam"
REVISION="1"
ARCHITECTURES="x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
SOURCE_DIR="pl-6.2.0"
PATCHES="swi_prolog-6.2.0.patch"
PROVIDES="
swi_prolog$secondaryArchSuffix = $portVersion
cmd:swipl$secondaryArchSuffix
cmd:swipl_rc$secondaryArchSuffix
cmd:swipl_ld$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgmp$secondaryArchSuffix >= 10
lib:libreadline$secondaryArchSuffix >= 6
lib:libncurses$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libreadline$secondaryArchSuffix >= 6
devel:libgmp$secondaryArchSuffix >= 10
devel:libncurses$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize
cmd:autoreconf
cmd:make
"
BUILD()
{
cd src
libtoolize -fci
autoreconf
LDFLAGS="-L/system/lib -L/system/develop/lib" CFLAGS="-I/system/develop/include -I/system/include" ./configure $configureDirArgs
#runConfigure ./configure
make
}
INSTALL()
{
cd src
make install
}
TEST()
{
cd src
make check
}