mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
hugs98: new recipe (#1195)
This commit is contained in:
62
dev-lang/hugs98/hugs98-dec2001.recipe
Normal file
62
dev-lang/hugs98/hugs98-dec2001.recipe
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY="A Haskell interpreter and programming environment"
|
||||
DESCRIPTION="Hugs 98 is a functional programming system based on Haskell 98, \
|
||||
the de facto standard for non-strict functional programming languages. Hugs \
|
||||
98 provides an almost complete implementation of Haskell 98"
|
||||
HOMEPAGE="http://haskell.org/hugs/"
|
||||
COPYRIGHT="1994-2001 Mark P Jones, Alastair Reid, the Yale Haskell Group, \
|
||||
and the Oregon Graduate Institute of Science and Technology"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://ftp.twaren.net/OpenBSD/distfiles/hugs98-Dec2001.tar.gz"
|
||||
CHECKSUM_SHA256="7a7663b5b21425087775c1206b8d5f186a20a3ef537188d49300176f71057f17"
|
||||
SOURCE_DIR="hugs98-Dec2001"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
hugs98$secondaryArchSuffix = $portVersion
|
||||
cmd:hugs$secondaryArchSuffix = $portVersion
|
||||
cmd:runhugs$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libncursesw$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libncursesw$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:bison
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:perl
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src/unix
|
||||
|
||||
libtoolize -vfi
|
||||
runConfigure --omit-dirs 'docDir dataRootDir' ./configure \
|
||||
--with-pthreads
|
||||
|
||||
cd ..
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd src
|
||||
make install
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
#make check
|
||||
#readline official breaks the tests
|
||||
:
|
||||
}
|
||||
Reference in New Issue
Block a user