2 # Copyright (C) 2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_SOURCE_URL:=@SF/aria2
15 PKG_MD5SUM:=86229ef8d289893934cb3af25c8fddf6
18 include $(INCLUDE_DIR)/package.mk
23 SUBMENU:=File Transfer
24 TITLE:=lightweight download utility
25 URL:=http://aria2.sourceforge.net/
26 DEPENDS:=+libopenssl +zlib +libxml2 +libstdcpp \
27 $(INTL_DEPENDS) $(ICONV_DEPENDS)
30 define Package/aria2/description
31 aria2 is a lightweight multi-protocol & multi-source command-line download
49 ZLIB_CFLAGS="-I$(STAGING_DIR)/usr/include" \
50 ZLIB_LIBS="-L$(STAGING_DIR)/usr/lib"
52 define Package/aria2/install
53 $(INSTALL_DIR) $(1)/usr/bin
54 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aria2c $(1)/usr/bin
57 $(eval $(call BuildPackage,aria2))