From 402c5f6a08357cecb835e0e31f2e122e0aeed687 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 8 Feb 2012 18:41:23 +0000 Subject: [PATCH] classpath: split build tools into a separate package git-svn-id: svn://svn.openwrt.org/openwrt/packages@30387 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/classpath/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/libs/classpath/Makefile b/libs/classpath/Makefile index cf46c66f3..f683d406e 100644 --- a/libs/classpath/Makefile +++ b/libs/classpath/Makefile @@ -34,6 +34,14 @@ define Package/classpath/Description machines and compilers for the java programming language. endef +define Package/classpath-tools + SECTION:=libs + CATEGORY:=Libraries + TITLE:=GNU Classpath tools + URL:=http://www.gnu.org/software/classpath/ + MAINTAINER:=Roberto Riggio +endef + define Download/antlr URL:=http://www.antlr.org/download FILE:=antlr-3.4-complete.jar @@ -63,8 +71,17 @@ define Package/classpath/install $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/share/classpath/ endef +define Package/classpath-tools/install + $(INSTALL_DIR) \ + $(1)/usr/bin \ + $(1)/usr/share/classpath + $(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ + $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/tools.zip $(1)/usr/share/classpath/ +endef + define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/* $(1)/ endef $(eval $(call BuildPackage,classpath)) +$(eval $(call BuildPackage,classpath-tools)) -- 2.11.0