jam: x86_64 support

This commit is contained in:
Jerome Duval
2014-10-16 17:02:46 +00:00
parent 11876b92d3
commit 3f1cffedb7
2 changed files with 1104 additions and 41 deletions

View File

@@ -5,14 +5,14 @@ version 2 (blue book). In comparison to most other VM's (free and commercial) \
it is extremely small.
"
HOMEPAGE="http://jamvm.sourceforge.net/"
SRC_URI="http://sourceforge.net/projects/jamvm/files/jamvm/JamVM%201.5.4/jamvm-1.5.4.tar.gz/download"
SRC_URI="http://sourceforge.net/projects/jamvm/files/jamvm/JamVM%20$portVersion/jamvm-$portVersion.tar.gz"
CHECKSUM_SHA256="7865693698bc4322cabe1014a4b7ebdec1bc1daf45f1a4457b6e908a4446b124"
REVISION="1"
DEPEND=""
LICENSE="GNU GPL v2"
COPYRIGHT="2003-2010 Robert Lougher"
ARCHITECTURES="x86 ?x86_64"
ARCHITECTURES="x86 x86_64"
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
# x86_gcc2 is fine as primary target architecture as long as we're building
# for a different secondary architecture.
@@ -37,21 +37,20 @@ BUILD_REQUIRES="
devel:libz$secondaryArchSuffix >= 1.2.8
"
BUILD_PREREQUIRES="
cmd:autoconf
cmd:autoreconf
cmd:aclocal
cmd:libtool
cmd:make
cmd:gcc$secondaryArchSuffix
cmd:find
"
PATCHES="jamvm-1.5.4.patch"
PATCHES="jamvm-$portVersion.patchset"
BUILD()
{
libtoolize --force --copy --install
aclocal
autoconf
autoreconf -fi
runConfigure ./configure \
--with-classpath-install-dir=$prefix
make