From: Felix Fietkau Date: Wed, 8 Feb 2012 18:41:23 +0000 (+0000) Subject: classpath: split build tools into a separate package X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=10a0d7d7efd14e226133d55d9e458d66145e28ef;p=openwrt%2Fsvn-archive%2Farchive.git classpath: split build tools into a separate package SVN-Revision: 30387 --- diff --git a/libs/classpath/Makefile b/libs/classpath/Makefile index cf46c66f38..f683d406e7 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))