#
-# Copyright (C) 2006,2007 OpenWrt.org
+# Copyright (C) 2006-2009 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
-# $Id$
include $(TOPDIR)/rules.mk
CATEGORY:=Languages
TITLE:=A Java Virtual Machine (JVM) implementation
URL:=http://sablevm.org/
- DEPENDS:=+libltdl +libpopt +libpthread +zlib
+ DEPENDS:=+libltdl +libpopt +libpthread +zlib @!TARGET_avr32
endef
define Package/sablevm/Default/description
)
endef
-define Build/Compile
+define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \
EARLY_CONFIGURE= \
EXTRA_CONFIGURE= \
define Package/sablevm/install
$(INSTALL_DIR) $(1)/usr/bin
- $(CP) $(PKG_INSTALL_DIR)/usr/bin/{java-,}sablevm $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{java-,}sablevm $(1)/usr/bin/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libsablevm-*.so $(1)/usr/lib/
$(INSTALL_DIR) $(1)/usr/lib/sablevm-classpath
$(1)/usr/share/sablevm/examples/
endef
-$(eval $(call BuildPackage,sablevm))
-$(eval $(call BuildPackage,sablevm-mini))
-
$(foreach command, jikes fastjar, \
$(eval $(call RequireCommand,$(command), \
$(PKG_NAME) requires $(command). \
)) \
)
+$(eval $(call BuildPackage,sablevm))
+$(eval $(call BuildPackage,sablevm-mini))
+