2 # Copyright (C) 2006-2010 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_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@GNU
/classpath
16 PKG_MD5SUM
:=90c6571b8b0309e372faa0f9f6255ea9
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/classpath
27 URL
:=http
://www.gnu.org
/software
/classpath
/
28 MAINTAINER
:=Roberto Riggio
<roberto.riggio@create-net.org
>
31 define Package
/classpath
/Description
32 GNU Classpath
, Essential Libraries for Java
, is a GNU project
33 to create free core class libraries for use with virtual
34 machines and compilers for the java programming language.
37 define Package
/classpath-tools
40 TITLE
:=GNU Classpath tools
41 URL
:=http
://www.gnu.org
/software
/classpath
/
42 MAINTAINER
:=Roberto Riggio
<roberto.riggio@create-net.org
>
46 URL
:=http
://www.antlr.org
/download
47 FILE
:=antlr-3.4
-complete.jar
48 MD5SUM
:=1b91dea1c7d480b3223f7c8a9aa0e172
50 $(eval
$(call Download
,antlr
))
58 --disable-gconf-peer \
60 --with-antlr-jar
=$(DL_DIR
)/antlr-3.4
-complete.jar
62 define Package
/classpath
/install
64 $(1)/usr
/lib
/classpath \
65 $(1)/usr
/share
/classpath
67 $(PKG_INSTALL_DIR
)/usr
/lib
/security \
68 $(PKG_INSTALL_DIR
)/usr
/lib
/logging.properties \
70 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/classpath
/*.so
* $(1)/usr
/lib
/classpath
/
71 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/classpath
/glibj.zip
$(1)/usr
/share
/classpath
/
74 define Package
/classpath-tools
/install
77 $(1)/usr
/share
/classpath
78 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/* $(1)/usr
/bin
/
79 $(CP
) $(PKG_INSTALL_DIR
)/usr
/share
/classpath
/tools.zip
$(1)/usr
/share
/classpath
/
82 define Build
/InstallDev
83 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/
86 $(eval
$(call BuildPackage
,classpath
))
87 $(eval
$(call BuildPackage
,classpath-tools
))