2009-06-21 11:00:12 +00:00
|
|
|
#
|
2007-04-27 14:45:11 +00:00
|
|
|
# Copyright (C) 2007 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:=tsocks
|
2009-06-21 11:00:12 +00:00
|
|
|
PKG_VERSION:=1.8
|
2007-04-27 14:45:11 +00:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_MD5SUM:=51caefd77e5d440d0bbd6443db4fc0f8
|
|
|
|
|
2009-06-13 17:01:55 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/tsocks
|
2009-06-21 11:00:12 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)beta5.tar.gz
|
2007-04-27 14:45:11 +00:00
|
|
|
|
2010-02-18 13:10:21 +00:00
|
|
|
PKG_INSTALL:=1
|
|
|
|
|
2007-04-27 14:45:11 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/tsocks
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2011-03-12 04:41:35 +00:00
|
|
|
SUBMENU:=Web Servers/Proxies
|
2007-04-27 14:45:11 +00:00
|
|
|
TITLE:=Transparent SOCKS v4 proxying library
|
|
|
|
URL:=http://tsocks.sourceforge.net/
|
|
|
|
endef
|
|
|
|
|
2007-10-14 04:32:56 +00:00
|
|
|
define Package/tsocks/description
|
|
|
|
Transparent SOCKS v4 proxying library
|
|
|
|
endef
|
|
|
|
|
2007-04-27 14:45:11 +00:00
|
|
|
define Build/Configure
|
|
|
|
$(call Build/Configure/Default,\
|
|
|
|
--with-conf=/etc/tsocks.conf \
|
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/tsocks/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin $(1)/usr/lib
|
2007-12-09 18:59:01 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tsocks $(1)/usr/bin/
|
2007-04-27 14:45:11 +00:00
|
|
|
$(CP) $(PKG_INSTALL_DIR)/lib/libtsocks.so{,*} $(1)/usr/lib/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,tsocks))
|