added pepsal
[openwrt/svn-archive/archive.git] / net / pepsal / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 11116 2008-05-11 22:27:32Z nico $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=pepsal
12 PKG_VERSION:=1.2.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=c8ce69ad5590240d37118c8b6d2c1b0b
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/pepsal
22 TITLE:=Performance Enhancing Proxy
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libnetfilter-queue
26 URL:=http://pepsal.sourceforge.net/
27 endef
28
29 define Package/pepsal/description
30 PEPsal is an integrated, multi-layer, transparent TCP Performance Enhancing
31 Proxy which splits the connection into two parts, making use of Linux TCP
32 enhancements when sending data, and largely improving performance in
33 links with different characteristics
34 endef
35
36
37 define Build/Configure
38 $(call Build/Configure/Default)
39 endef
40
41 define Build/Compile
42 $(MAKE) -C $(PKG_BUILD_DIR) \
43 DESTDIR="$(PKG_INSTALL_DIR)" \
44 install
45 endef
46
47 define Package/pepsal/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pepsal $(1)/usr/bin/
50 endef
51
52 $(eval $(call BuildPackage,pepsal))