mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
54 lines
1.2 KiB
Bash
54 lines
1.2 KiB
Bash
SUMMARY="A very small Java Virtual Machine"
|
|
DESCRIPTION="JamVM is a new Java Virtual Machine which conforms to the JVM \
|
|
specification version 2 (blue book). In comparison to most other VM's (free \
|
|
and commercial) it is extremely small."
|
|
HOMEPAGE="http://jamvm.sourceforge.net/"
|
|
COPYRIGHT="2003-2010 Robert Lougher"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://sourceforge.net/projects/jamvm/files/jamvm/JamVM%20$portVersion/jamvm-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="76428e96df0ae9dd964c7a7c74c1e9a837e2f312c39e9a357fa8178f7eff80da"
|
|
PATCHES="jamvm-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
jamvm$secondaryArchSuffix = $portVersion
|
|
cmd:jamvm$secondaryArchSuffix = $portVersion
|
|
devel:libjvm$secondaryArchSuffix
|
|
lib:libjvm$secondaryArchSuffix
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libz$secondaryArchSuffix >= 1.2.8
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtool
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p m4
|
|
autoreconf -fi
|
|
runConfigure ./configure \
|
|
--with-classpath-install-dir=$prefix
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
prepareInstalledDevelLib libjvm
|
|
}
|