source: packages/libs/classpath/Makefile @ 19714

Last change on this file since 19714 was 19714, checked in by lars, 7 years ago

[packages] Add missing libtool fixups

File size: 1.3 KB
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=classpath
11PKG_VERSION:=0.98
12PKG_RELEASE:=3
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=@GNU/classpath
16PKG_MD5SUM:=90c6571b8b0309e372faa0f9f6255ea9
17
18PKG_FIXUP:=libtool
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define 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)
29endef
30
31define 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.
35endef
36
37define 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        )
45endef
46
47define 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/
52endef
53
54$(eval $(call BuildPackage,classpath))
Note: See TracBrowser for help on using the repository browser.