[net] Proxy Servers: Moved web proxy servers and related programs to Proxy Servers...
[openwrt/svn-archive/archive.git] / net / axel / Makefile
1 #
2 # Copyright (C) 2010 Gianluigi Tiesi <sherpya@netfarm.it>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=axel
11 PKG_VERSION:=2.4
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://alioth.debian.org/frs/download.php/3015
16 PKG_MD5SUM:=a2a762fce0c96781965c8f9786a3d09d
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/axel
23 SECTION:=net
24 CATEGORY:=Network
25 TITLE:=Axel Download Accelerator
26 DEPENDS:=+libpthread
27 URL:=http://axel.alioth.debian.org/
28 MAINTAINER:=Gianluigi Tiesi <sherpya@netfarm.it>
29 endef
30
31 define Package/axel/description
32 Axel tries to accelerate HTTP/FTP downloading process by using multiple connections for one file.
33 It can use multiple mirrors for a download. Axel has no dependencies and is lightweight,
34 so it might be useful as a wget clone on byte-critical systems.
35 endef
36
37 # notes:
38 # - I'm using = and not += because it is not a standard configure script
39 # - I ask not to strip, because it should be handled by the toolchain
40 CONFIGURE_ARGS = \
41 --prefix=/usr \
42 --etcdir=/etc \
43 --debug=0 \
44 --i18n=0 \
45 --strip=0
46
47 define Package/axel/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/axel $(1)/usr/bin/
50 $(INSTALL_DIR) $(1)/etc
51 $(INSTALL_DATA) $(PKG_BUILD_DIR)/axelrc.example $(1)/etc/axelrc
52 echo "alternate_output = 1" >> $(1)/etc/axelrc
53 endef
54
55 $(eval $(call BuildPackage,axel))