include $(TOPDIR)/rules.mk
PKG_NAME:=classpath
-PKG_VERSION:=0.97.2
+PKG_VERSION:=0.98
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=ftp://ftp.gnu.org/gnu/classpath/
-PKG_MD5SUM:=6a35347901ace03c31cc49751b338f31
+PKG_SOURCE_URL:=@GNU/classpath
+PKG_MD5SUM:=90c6571b8b0309e372faa0f9f6255ea9
include $(INCLUDE_DIR)/package.mk
endef
define Package/classpath/install
- $(INSTALL_DIR) $(1)/usr/local/classpath/share/classpath/
- $(INSTALL_DIR) $(1)/usr/local/classpath/lib/classpath/
- $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/local/classpath/share/classpath/
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/local/classpath/lib/classpath/
+ $(INSTALL_DIR) $(1)/usr/share/classpath
+ $(INSTALL_DIR) $(1)/usr/lib/classpath
+ $(CP) $(PKG_INSTALL_DIR)/usr/share/classpath/glibj.zip $(1)/usr/share/classpath/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/classpath/* $(1)/usr/lib/classpath/
endef
$(eval $(call BuildPackage,classpath))