source: packages/net/tsocks/Makefile @ 26061

Last change on this file since 26061 was 26061, checked in by cshore, 5 years ago

[net] Web Servers/Proxies: Move all web servers, proxies, and related programs into the combined Web Servers/Proxies category. One-stop shopping.

File size: 1021 bytes
Line 
1#
2# Copyright (C) 2007 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=tsocks
12PKG_VERSION:=1.8
13PKG_RELEASE:=1
14PKG_MD5SUM:=51caefd77e5d440d0bbd6443db4fc0f8
15
16PKG_SOURCE_URL:=@SF/tsocks
17PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)beta5.tar.gz
18
19PKG_INSTALL:=1
20
21include $(INCLUDE_DIR)/package.mk
22
23define Package/tsocks
24  SECTION:=net
25  CATEGORY:=Network
26  SUBMENU:=Web Servers/Proxies
27  TITLE:=Transparent SOCKS v4 proxying library
28  URL:=http://tsocks.sourceforge.net/
29endef
30
31define Package/tsocks/description
32Transparent SOCKS v4 proxying library
33endef
34
35define Build/Configure
36        $(call Build/Configure/Default,\
37                  --with-conf=/etc/tsocks.conf \
38        )
39endef
40
41define 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/
45endef
46
47$(eval $(call BuildPackage,tsocks))
Note: See TracBrowser for help on using the repository browser.