d78d2481462b11ffded7b77bbca8f8415ca2749e
[openwrt/svn-archive/archive.git] / libs / classpath / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=classpath
11 PKG_VERSION:=0.98
12 PKG_RELEASE:=3
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@GNU/classpath
16 PKG_MD5SUM:=90c6571b8b0309e372faa0f9f6255ea9
17
18 PKG_FIXUP:=libtool
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/classpath
24 SECTION:=libs
25 CATEGORY:=Libraries
26 TITLE:=GNU Classpath
27 URL:=http://www.gnu.org/software/classpath/
28 MAINTAINER:=Roberto Riggio (roberto.riggio@create-net.org)
29 endef
30
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.
35 endef
36
37 define Build/Configure
38 $(call Build/Configure/Default, \
39 --with-javac \
40 --enable-jni \
41 --disable-gtk-peer \
42 --disable-gconf-peer \
43 --disable-plugin \
44 )
45 endef
46
47 define Package/classpath/install
48 $(INSTALL_DIR) $(1)/usr/share/classpath
49 $(INSTALL_DIR) $(1)/usr/lib/classpath
50 $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/share/classpath/
51 $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/lib/classpath/
52 endef
53
54 $(eval $(call BuildPackage,classpath))