classpath: split build tools into a separate package

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30387 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2012-02-08 18:41:23 +00:00
parent daf2905411
commit 402c5f6a08

View File

@ -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 <roberto.riggio@create-net.org>
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))