Files
haikuports/dev-java/gnu_classpath/gnu_classpath-0.98.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

74 lines
1.5 KiB
Bash

SUMMARY="GNU Java class library"
DESCRIPTION="
Free core class libraries for use with virtual machines and compilers for the \
Java language
"
HOMEPAGE="http://www.gnu.org/software/classpath"
SRC_URI="ftp://ftp.gnu.org/gnu/classpath/classpath-0.98.tar.gz"
CHECKSUM_SHA256="501b5acd4dff79b6100da22cef15080f31071821ce3cea6f1b739bc1b56fac3f"
REVISION="1"
LICENSE="GNU GPL v2
GNU GPL v2 with classpath exceptions"
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."
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
gnu_classpath = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:libtoolize
cmd:gcc$secondaryArchSuffix
cmd:make
# at least one java VM, for now just use jamvm
cmd:jamvm$secondaryArchSuffix
"
SOURCE_DIR="classpath-0.98"
PATCHES="gnu_classpath-0.98.patch"
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
}