2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_MD5SUM
:=51caefd77e5d440d0bbd6443db4fc0f8
16 PKG_SOURCE_URL
:=@SF
/tsocks
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)beta5.
tar.gz
21 include $(INCLUDE_DIR
)/package.mk
26 SUBMENU
:=Web Servers
/Proxies
27 TITLE
:=Transparent SOCKS v4 proxying library
28 URL
:=http
://tsocks.sourceforge.net
/
31 define Package
/tsocks
/description
32 Transparent SOCKS v4 proxying library
35 define Build
/Configure
36 $(call Build
/Configure
/Default
,\
37 --with-conf
=/etc
/tsocks.conf \
41 define Package
/tsocks
/install
42 $(INSTALL_DIR
) $(1)/usr
/bin
$(1)/usr
/lib
43 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/tsocks
$(1)/usr
/bin
/
44 $(CP
) $(PKG_INSTALL_DIR
)/lib
/libtsocks.so
{,*} $(1)/usr
/lib
/
47 $(eval
$(call BuildPackage
,tsocks
))