[packages] aodv-uu: resolve reference to CONFIG_LINUX_2_6
[openwrt/svn-archive/archive.git] / net / socat / Makefile
1 #
2 # Copyright (C) 2006 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 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=socat
11 PKG_VERSION:=1.6.0.1
12 PKG_RELEASE:=2
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_SOURCE_URL:=http://www.dest-unreach.org/socat/download/
16 PKG_MD5SUM:=6a0dd33cde2a18eb382433aca8f76ce2
17
18 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/socat
23 SECTION:=net
24 CATEGORY:=Network
25 DEPENDS:=+libpthread
26 TITLE:=A multipurpose relay (SOcket CAT)
27 URL:=http://www.dest-unreach.org/socat/
28 endef
29
30 define Package/socat/description
31 SoCat (for SOcket CAT) establishes two bidirectional byte streams and
32 transfers data between them.
33 Data channels may be files, pipes, devices (terminal or modem, etc.), or
34 sockets (Unix, IPv4, IPv6, raw, UDP, TCP, SSL). It provides forking,
35 logging and tracing, different modes for interprocess communication and
36 many more options.
37 endef
38
39 define Build/Configure
40 $(call Build/Configure/Default, \
41 --disable-libwrap \
42 --disable-readline \
43 --disable-openssl \
44 --enable-termios \
45 , \
46 sc_cv_termios_ispeed="no" \
47 )
48 endef
49
50 define Package/socat/install
51 $(INSTALL_DIR) $(1)/usr/bin
52 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/socat $(1)/usr/bin/
53 endef
54
55 $(eval $(call BuildPackage,socat))