2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_MAINTAINER
:=Dana H. Myers
<k6jq@comcast.net
>
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=@GNU
/classpath
18 PKG_MD5SUM
:=0ae1571249172acd82488724a3b8acb4
23 include $(INCLUDE_DIR
)/package.mk
25 define Package
/classpath
29 URL
:=http
://www.gnu.org
/software
/classpath
/
30 DEPENDS
:=+alsa-lib
+libgmp
+libmagic
33 define Package
/classpath
/Description
34 GNU Classpath
, Essential Libraries for Java
, is a GNU project
35 to create free core class libraries for use with virtual
36 machines and compilers for the java programming language.
39 define Package
/classpath-tools
42 TITLE
:=GNU Classpath tools
43 URL
:=http
://www.gnu.org
/software
/classpath
/
47 URL
:=http
://www.antlr.org
/download
48 FILE
:=antlr-3.4
-complete.jar
49 MD5SUM
:=1b91dea1c7d480b3223f7c8a9aa0e172
51 $(eval
$(call Download
,antlr
))
54 --with-gmp
="$(STAGING_DIR)/usr" \
60 --disable-gconf-peer \
63 --with-antlr-jar
=$(DL_DIR
)/antlr-3.4
-complete.jar
65 define Package
/classpath
/install
67 $(1)/usr
/lib
/classpath \
68 $(1)/usr
/share
/classpath
70 $(PKG_INSTALL_DIR
)/usr
/lib
/security \
71 $(PKG_INSTALL_DIR
)/usr
/lib
/logging.properties \
73 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/classpath
/*.so
* $(1)/usr
/lib
/classpath
/
74 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/classpath
/glibj.zip
$(1)/usr
/share
/classpath
/
77 define Package
/classpath-tools
/install
80 $(1)/usr
/share
/classpath
81 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
82 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/classpath
/tools.zip
$(1)/usr
/share
/classpath
/
85 define Build
/InstallDev
86 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
89 $(eval
$(call BuildPackage
,classpath
))
90 $(eval
$(call BuildPackage
,classpath-tools
))