Port sablevm-classpath to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4518 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
81b959eb24
commit
5965aa53f6
94
lang/sablevm-classpath/Makefile
Normal file
94
lang/sablevm-classpath/Makefile
Normal file
@ -0,0 +1,94 @@
|
||||
#
|
||||
# Copyright (C) 2006 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
# $Id$
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sablevm-classpath
|
||||
PKG_VERSION:=1.13
|
||||
PKG_RELEASE:=1
|
||||
PKG_MD5SUM:=9476bb7a0ad67c6cfa353d06f094cdce
|
||||
|
||||
PKG_SOURCE_URL:=http://sablevm.org/download/release/$(PKG_VERSION)/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_CAT:=zcat
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/libsablevm-classpath
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
TITLE:=Essential native libraries for Java
|
||||
DESCRIPTION:=GNU Classpath, Essential Libraries for Java, is a GNU project to create\\\
|
||||
free core class libraries for use with virtual machines and compilers for\\\
|
||||
the java programming language.\\\
|
||||
This is a modified version for use with SableVM.\\\
|
||||
URL:=http://www.gnu.org/software/classpath/
|
||||
endef
|
||||
|
||||
define Package/sablevm-classpath-full
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
DEPENDS:=libsablevm-classpath
|
||||
TITLE:=Full set
|
||||
endef
|
||||
|
||||
define Package/sablevm-classpath-mini
|
||||
SECTION:=lang
|
||||
CATEGORY:=Languages
|
||||
DEPENDS:=libsablevm-classpath
|
||||
TITLE:=Minimal set
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
$(call Build/Configure/Default,--enable-shared \
|
||||
--disable-static \
|
||||
--disable-gtk-peer \
|
||||
--disable-gtk-cairo \
|
||||
--without-x)
|
||||
endef
|
||||
|
||||
|
||||
define Build/Compile
|
||||
rm -rf $(PKG_INSTAL_DIR)
|
||||
mkdir -p $(PKG_INSTALL_DIR)
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
all install
|
||||
$(CP) ./files/mini.classlist $(PKG_BUILD_DIR)/lib/
|
||||
cd $(PKG_BUILD_DIR)/lib ; fastjar -Mcf mini.jar -@ < mini.classlist
|
||||
endef
|
||||
|
||||
define Package/libsablevm-classpath/install
|
||||
install -d -m0755 $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/sablevm-classpath
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/sablevm-classpath/libjava*.so $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/sablevm-classpath/
|
||||
install -d -m0755 $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/security
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/security/classpath.security $(IDIR_LIBSABLEVM_CLASSPATH)/usr/lib/security/
|
||||
endef
|
||||
|
||||
define Package/sablevm-classpath-full/install
|
||||
install -d -m0755 $(IDIR_SABLEVM_CLASSPATH_FULL)/usr/share/sablevm-classpath
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/share/sablevm-classpath/{libclasspath,resources}.jar \
|
||||
$(IDIR_SABLEVM_CLASSPATH_FULL)/usr/share/sablevm-classpath/
|
||||
endef
|
||||
|
||||
define Package/sablevm-classpath-mini/install
|
||||
install -d -m0755 $(IDIR_SABLEVM_CLASSPATH_MINI)/usr/share/sablevm-classpath
|
||||
install -m0755 $(PKG_BUILD_DIR)/lib/mini.jar \
|
||||
$(IDIR_SABLEVM_CLASSPATH_MINI)/usr/share/sablevm-classpath/libclasspath.jar
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libsablevm-classpath))
|
||||
$(eval $(call BuildPackage,sablevm-classpath-full))
|
||||
$(eval $(call BuildPackage,sablevm-classpath-mini))
|
||||
|
||||
$(eval $(call RequireCommand,gcj, \
|
||||
libsablevm-classpath require jikes to build. \
|
||||
))
|
215
lang/sablevm-classpath/files/mini.classlist
Normal file
215
lang/sablevm-classpath/files/mini.classlist
Normal file
@ -0,0 +1,215 @@
|
||||
./gnu/classpath/SystemProperties.class
|
||||
./gnu/classpath/VMStackWalker.class
|
||||
./gnu/classpath/VMSystemProperties.class
|
||||
./gnu/java/io/PlatformHelper.class
|
||||
./gnu/java/net/protocol/file/Handler.class
|
||||
./gnu/java/nio/channels/FileChannelImpl.class
|
||||
./gnu/java/nio/charset/ByteCharset.class
|
||||
./gnu/java/nio/charset/ISO_8859_1$Encoder.class
|
||||
./gnu/java/nio/charset/ISO_8859_1.class
|
||||
./gnu/java/nio/charset/ISO_8859_13.class
|
||||
./gnu/java/nio/charset/ISO_8859_15.class
|
||||
./gnu/java/nio/charset/ISO_8859_2.class
|
||||
./gnu/java/nio/charset/ISO_8859_4.class
|
||||
./gnu/java/nio/charset/ISO_8859_5.class
|
||||
./gnu/java/nio/charset/ISO_8859_7.class
|
||||
./gnu/java/nio/charset/ISO_8859_9.class
|
||||
./gnu/java/nio/charset/KOI_8.class
|
||||
./gnu/java/nio/charset/Provider.class
|
||||
./gnu/java/nio/charset/US_ASCII.class
|
||||
./gnu/java/nio/charset/UTF_16.class
|
||||
./gnu/java/nio/charset/UTF_16BE.class
|
||||
./gnu/java/nio/charset/UTF_16LE.class
|
||||
./gnu/java/nio/charset/UTF_8.class
|
||||
./gnu/java/nio/charset/UnicodeLittle.class
|
||||
./gnu/java/nio/charset/Windows1250.class
|
||||
./gnu/java/nio/charset/Windows1251.class
|
||||
./gnu/java/nio/charset/Windows1252.class
|
||||
./gnu/java/nio/charset/Windows1253.class
|
||||
./gnu/java/nio/charset/Windows1254.class
|
||||
./gnu/java/nio/charset/Windows1257.class
|
||||
./gnu/java/security/provider/DefaultPolicy.class
|
||||
./java/io/BufferedInputStream.class
|
||||
./java/io/BufferedOutputStream.class
|
||||
./java/io/File.class
|
||||
./java/io/FileDescriptor.class
|
||||
./java/io/FileInputStream.class
|
||||
./java/io/FileOutputStream.class
|
||||
./java/io/FilePermission.class
|
||||
./java/io/FilterInputStream.class
|
||||
./java/io/FilterOutputStream.class
|
||||
./java/io/InputStream.class
|
||||
./java/io/OutputStream.class
|
||||
./java/io/PrintStream.class
|
||||
./java/io/Serializable.class
|
||||
./java/io/VMFile.class
|
||||
./java/lang/AbstractMethodError.class
|
||||
./java/lang/ArithmeticException.class
|
||||
./java/lang/ArrayIndexOutOfBoundsException.class
|
||||
./java/lang/ArrayStoreException.class
|
||||
./java/lang/CharSequence.class
|
||||
./java/lang/Character.class
|
||||
./java/lang/Class.class
|
||||
./java/lang/ClassCastException.class
|
||||
./java/lang/ClassCircularityError.class
|
||||
./java/lang/ClassFormatError.class
|
||||
./java/lang/ClassLoader$1.class
|
||||
./java/lang/ClassLoader$StaticData.class
|
||||
./java/lang/ClassLoader.class
|
||||
./java/lang/ClassNotFoundException.class
|
||||
./java/lang/Cloneable.class
|
||||
./java/lang/Comparable.class
|
||||
./java/lang/Error.class
|
||||
./java/lang/Exception.class
|
||||
./java/lang/ExceptionInInitializerError.class
|
||||
./java/lang/IllegalMonitorStateException.class
|
||||
./java/lang/IncompatibleClassChangeError.class
|
||||
./java/lang/IndexOutOfBoundsException.class
|
||||
./java/lang/Integer.class
|
||||
./java/lang/InternalError.class
|
||||
./java/lang/InterruptedException.class
|
||||
./java/lang/LinkageError.class
|
||||
./java/lang/Math.class
|
||||
./java/lang/NegativeArraySizeException.class
|
||||
./java/lang/NoClassDefFoundError.class
|
||||
./java/lang/NoSuchFieldError.class
|
||||
./java/lang/NoSuchFieldException.class
|
||||
./java/lang/NoSuchMethodError.class
|
||||
./java/lang/NoSuchMethodException.class
|
||||
./java/lang/NullPointerException.class
|
||||
./java/lang/Number.class
|
||||
./java/lang/Object.class
|
||||
./java/lang/OutOfMemoryError.class
|
||||
./java/lang/Runnable.class
|
||||
./java/lang/Runtime.class
|
||||
./java/lang/RuntimeException.class
|
||||
./java/lang/SecurityManager.class
|
||||
./java/lang/StackTraceElement.class
|
||||
./java/lang/String$CaseInsensitiveComparator.class
|
||||
./java/lang/String.class
|
||||
./java/lang/StringBuffer.class
|
||||
./java/lang/StringCreator.class
|
||||
./java/lang/System.class
|
||||
./java/lang/Thread.class
|
||||
./java/lang/ThreadGroup.class
|
||||
./java/lang/ThreadLocal$Key.class
|
||||
./java/lang/ThreadLocal.class
|
||||
./java/lang/Throwable.class
|
||||
./java/lang/UnsatisfiedLinkError.class
|
||||
./java/lang/UnsupportedClassVersionError.class
|
||||
./java/lang/VMClass.class
|
||||
./java/lang/VMClassLoader.class
|
||||
./java/lang/VMObject.class
|
||||
./java/lang/VMRuntime.class
|
||||
./java/lang/VMString.class
|
||||
./java/lang/VMSystem.class
|
||||
./java/lang/VMThread.class
|
||||
./java/lang/VerifyError.class
|
||||
./java/lang/VirtualMachine.class
|
||||
./java/lang/VirtualMachineError.class
|
||||
./java/lang/ref/Reference.class
|
||||
./java/lang/ref/ReferenceQueue.class
|
||||
./java/lang/ref/WeakReference.class
|
||||
./java/lang/reflect/AccessibleObject.class
|
||||
./java/lang/reflect/Constructor.class
|
||||
./java/lang/reflect/Field.class
|
||||
./java/lang/reflect/InvocationTargetException.class
|
||||
./java/lang/reflect/Member.class
|
||||
./java/lang/reflect/Method.class
|
||||
./java/lang/reflect/Modifier.class
|
||||
./java/lang/reflect/ReflectUtil.class
|
||||
./java/net/URL$1.class
|
||||
./java/net/URL.class
|
||||
./java/net/URLClassLoader$FileResource.class
|
||||
./java/net/URLClassLoader$FileURLLoader.class
|
||||
./java/net/URLClassLoader$Resource.class
|
||||
./java/net/URLClassLoader$URLLoader.class
|
||||
./java/net/URLClassLoader.class
|
||||
./java/net/URLStreamHandler.class
|
||||
./java/nio/Buffer.class
|
||||
./java/nio/ByteBuffer$vm.class
|
||||
./java/nio/ByteBuffer.class
|
||||
./java/nio/ByteBufferImpl.class
|
||||
./java/nio/ByteOrder.class
|
||||
./java/nio/CharBuffer.class
|
||||
./java/nio/CharBufferImpl.class
|
||||
./java/nio/channels/ByteChannel.class
|
||||
./java/nio/channels/Channel.class
|
||||
./java/nio/channels/FileChannel.class
|
||||
./java/nio/channels/GatheringByteChannel.class
|
||||
./java/nio/channels/InterruptibleChannel.class
|
||||
./java/nio/channels/ReadableByteChannel.class
|
||||
./java/nio/channels/ScatteringByteChannel.class
|
||||
./java/nio/channels/WritableByteChannel.class
|
||||
./java/nio/channels/spi/AbstractInterruptibleChannel.class
|
||||
./java/nio/charset/Charset.class
|
||||
./java/nio/charset/CharsetEncoder.class
|
||||
./java/nio/charset/CoderResult$1.class
|
||||
./java/nio/charset/CoderResult$2.class
|
||||
./java/nio/charset/CoderResult$Cache.class
|
||||
./java/nio/charset/CoderResult.class
|
||||
./java/nio/charset/CodingErrorAction.class
|
||||
./java/nio/charset/spi/CharsetProvider.class
|
||||
./java/security/AccessControlContext.class
|
||||
./java/security/AccessController.class
|
||||
./java/security/AllPermission$AllPermissionCollection.class
|
||||
./java/security/AllPermission.class
|
||||
./java/security/CodeSource.class
|
||||
./java/security/Guard.class
|
||||
./java/security/Permission.class
|
||||
./java/security/PermissionCollection.class
|
||||
./java/security/Permissions$PermissionsHash.class
|
||||
./java/security/Permissions.class
|
||||
./java/security/Policy.class
|
||||
./java/security/Principal.class
|
||||
./java/security/PrivilegedAction.class
|
||||
./java/security/ProtectionDomain.class
|
||||
./java/security/SecureClassLoader.class
|
||||
./java/security/VMAccessController.class
|
||||
./java/util/AbstractCollection.class
|
||||
./java/util/AbstractList.class
|
||||
./java/util/AbstractMap$BasicMapEntry.class
|
||||
./java/util/AbstractMap.class
|
||||
./java/util/AbstractSequentialList.class
|
||||
./java/util/AbstractSet.class
|
||||
./java/util/ArrayList.class
|
||||
./java/util/Collection.class
|
||||
./java/util/Collections$EmptyList.class
|
||||
./java/util/Collections$EmptyMap.class
|
||||
./java/util/Collections$EmptySet.class
|
||||
./java/util/Collections$ReverseComparator.class
|
||||
./java/util/Collections$SynchronizedCollection.class
|
||||
./java/util/Collections$SynchronizedIterator.class
|
||||
./java/util/Collections$SynchronizedSet.class
|
||||
./java/util/Collections$UnmodifiableCollection.class
|
||||
./java/util/Collections$UnmodifiableIterator.class
|
||||
./java/util/Collections$UnmodifiableSet.class
|
||||
./java/util/Collections.class
|
||||
./java/util/Comparator.class
|
||||
./java/util/Dictionary.class
|
||||
./java/util/Enumeration.class
|
||||
./java/util/HashMap$HashEntry.class
|
||||
./java/util/HashMap$HashIterator.class
|
||||
./java/util/HashMap.class
|
||||
./java/util/HashSet.class
|
||||
./java/util/Hashtable$3.class
|
||||
./java/util/Hashtable$HashEntry.class
|
||||
./java/util/Hashtable$HashIterator.class
|
||||
./java/util/Hashtable.class
|
||||
./java/util/Iterator.class
|
||||
./java/util/LinkedList$Entry.class
|
||||
./java/util/LinkedList.class
|
||||
./java/util/List.class
|
||||
./java/util/Locale.class
|
||||
./java/util/Map$Entry.class
|
||||
./java/util/Map.class
|
||||
./java/util/Properties.class
|
||||
./java/util/RandomAccess.class
|
||||
./java/util/Set.class
|
||||
./java/util/StringTokenizer.class
|
||||
./java/util/Vector.class
|
||||
./java/util/WeakHashMap$1.class
|
||||
./java/util/WeakHashMap$WeakBucket$WeakEntry.class
|
||||
./java/util/WeakHashMap$WeakBucket.class
|
||||
./java/util/WeakHashMap$WeakEntrySet.class
|
||||
./java/util/WeakHashMap.class
|
Loading…
x
Reference in New Issue
Block a user