0
0
Fork 0
haikuports/dev-java/gnu_classpath/gnu_classpath-0.98.recipe

71 lines
1.5 KiB
Bash
Raw Permalink Normal View History

SUMMARY="GNU Java class library"
2014-01-02 21:40:56 +00:00
DESCRIPTION="
Free core class libraries for use with virtual machines and compilers for the \
2016-02-26 15:33:51 +00:00
Java language"
2013-03-29 14:04:07 +00:00
HOMEPAGE="http://www.gnu.org/software/classpath"
COPYRIGHT="1998-1999, 2001-2008 Free Software Foundation
1991 AT&T
1993 Sun Microsystems, Inc. All rights reserved
1997, 1998 by Microstar Software Ltd.
1991-2005 Unicode, Inc. All rights reserved
2001 Thai Open Source Software Center Ltd, Sun
2004 World Wide Web Consortium
2005 Caolan McNamara
2005 Daniel Richard G."
2016-02-17 19:26:37 +00:00
LICENSE="GNU GPL v2
GNU GPL v2 with classpath exceptions"
REVISION="1"
SOURCE_URI="ftp://ftp.gnu.org/gnu/classpath/classpath-0.98.tar.gz"
CHECKSUM_SHA256="501b5acd4dff79b6100da22cef15080f31071821ce3cea6f1b739bc1b56fac3f"
SOURCE_DIR="classpath-0.98"
PATCHES="gnu_classpath-0.98.patch"
ARCHITECTURES="?all"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
gnu_classpath$secondaryArchSuffix = $portVersion
2016-02-26 15:33:51 +00:00
"
REQUIRES="
haiku$secondaryArchSuffix
2016-02-26 15:33:51 +00:00
"
2016-02-17 19:26:37 +00:00
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
2016-02-29 01:17:42 +00:00
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:gcc$secondaryArchSuffix
2018-08-08 14:18:18 +00:00
cmd:jamvm$secondaryArchSuffix # at least one java VM, for now just use jamvm
cmd:libtoolize
cmd:make
2016-02-29 01:17:42 +00:00
"
BUILD()
{
libtoolize --force --copy --install
aclocal -I m4
autoconf
runConfigure ./configure \
--disable-gtk-peer \
--disable-alsa \
--disable-plugin \
--disable-gconf-peer \
--disable-gjdoc \
LDFLAGS="-lnetwork"
make
}
INSTALL()
{
make install
}
TEST()
{
:
# make test
# make check
}