Changeset 29691


Ignore:
Timestamp:
2012-01-08T16:39:27+01:00 (6 years ago)
Author:
nbd
Message:

classpath: fix multiple compile issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/libs/classpath/Makefile

    r21005 r29691  
    1010PKG_NAME:=classpath 
    1111PKG_VERSION:=0.98 
    12 PKG_RELEASE:=3 
     12PKG_RELEASE:=4 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
     
    2727  URL:=http://www.gnu.org/software/classpath/ 
    2828  MAINTAINER:=Roberto Riggio <roberto.riggio@create-net.org> 
    29   DEPENDS:=@BROKEN 
    3029endef 
    3130 
     
    3635endef 
    3736 
    38 define Build/Configure 
    39         $(call Build/Configure/Default, \ 
    40                 --with-javac \ 
    41                 --enable-jni \ 
    42                 --disable-gtk-peer \ 
    43                 --disable-gconf-peer \ 
    44                 --disable-plugin \ 
    45         ) 
     37define Download/antlr 
     38  URL:=http://www.antlr.org/download 
     39  FILE:=antlr-3.4-complete.jar 
     40  MD5SUM:=1b91dea1c7d480b3223f7c8a9aa0e172 
     41endef 
     42$(eval $(call Download,antlr)) 
     43 
     44CONFIGURE_ARGS += \ 
     45        --without-x \ 
     46        --disable-gtk-peer \ 
     47        --disable-qt-peer \ 
     48        --disable-dssi \ 
     49        --disable-plugin \ 
     50        --disable-gconf-peer \ 
     51        --disable-gjdoc \ 
     52        --with-antlr-jar=$(DL_DIR)/antlr-3.4-complete.jar 
     53 
     54define Package/classpath/install 
     55        $(INSTALL_DIR) \ 
     56                $(1)/usr/lib/classpath \ 
     57                $(1)/usr/share/classpath 
     58        $(CP) \ 
     59                $(PKG_INSTALL_DIR)/usr/lib/security \ 
     60                $(PKG_INSTALL_DIR)/usr/lib/logging.properties \ 
     61                $(1)/usr/lib/ 
     62        $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/*.so* $(1)/usr/lib/classpath/ 
     63        $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/*.zip $(1)/usr/share/classpath/ 
    4664endef 
    4765 
    48 define Package/classpath/install 
    49         $(INSTALL_DIR) $(1)/usr/share/classpath 
    50         $(INSTALL_DIR) $(1)/usr/lib/classpath 
    51         $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/share/classpath/ 
    52         $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/lib/classpath/ 
     66define Build/InstallDev 
     67        $(CP) $(PKG_INSTALL_DIR)/* $(1)/ 
    5368endef 
    5469 
Note: See TracChangeset for help on using the changeset viewer.