您好,欢迎来到华拓科技网。
搜索
您的当前位置:首页openwrt之aria2

openwrt之aria2

来源:华拓科技网
#
# Copyright (C) 2012 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk

PKG_NAME:=aria2
PKG_VERSION:=1.18.1
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.bz2
PKG_SOURCE_URL:=
PKG_MD5SUM:=
PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk

define Package/aria2
    SECTION:=net
    CATEGORY:=Network
    SUBMENU:=File Transfer
    TITLE:=lightweight download utility
    URL:=http://aria2.sourceforge.net/
    DEPENDS:=+libopenssl +zlib +libxml2 +libstdcpp \
    $(INTL_DEPENDS) $(ICONV_DEPENDS)
endef

define Package/aria2/description
    aria2 is a lightweight multi-protocol & multi-source command-line download
    utility
endef

define Package/aria2/conffiles
    /etc/config/aria2
endef

CONFIGURE_ARGS += \
    --disable-nls \
    --without-gnutls \
    --without-libnettle \
    --without-libgmp \
    --without-libgcrypt \
    --without-libexpat \
    --without-libcares \
    --without-sqlite3 \
    --with-openssl \
    --with-libxml2 \
    --with-libz

CONFIGURE_VARS += \
    ZLIB_CFLAGS="-I$(STAGING_DIR)/usr/include" \
    ZLIB_LIBS="-L$(STAGING_DIR)/usr/lib"

define Package/aria2/install
    $(INSTALL_DIR) $(1)/usr/bin
    $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/aria2c $(1)/usr/bin
endef

$(eval $(call BuildPackage,aria2))

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- huatuo6.cn 版权所有 赣ICP备2024042791号-9

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务