2 # Copyright (C) 2006 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
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_SOURCE_URL
:=http
://www.dest-unreach.org
/socat
/download
/
17 PKG_MD5SUM
:=6a0dd33cde2a18eb382433aca8f76ce2
19 include $(INCLUDE_DIR
)/package.mk
25 TITLE
:=A multipurpose relay
(SOcket CAT
)
26 URL
:=http
://www.dest-unreach.org
/socat
/
29 define Package
/socat
/description
30 SoCat
(for SOcket CAT
) establishes two bidirectional byte streams and
31 transfers data between them.
32 Data channels may be files
, pipes
, devices
(terminal or modem
, etc.
), or
33 sockets
(Unix
, IPv4
, IPv6
, raw
, UDP
, TCP
, SSL
). It provides forking
,
34 logging and tracing
, different modes for interprocess communication and
38 define Build
/Configure
39 $(call Build
/Configure
/Default
, \
45 sc_cv_termios_ispeed
="no" \
50 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
51 DESTDIR
="$(PKG_INSTALL_DIR)" \
55 define Package
/socat
/install
56 $(INSTALL_DIR
) $(1)/usr
/bin
57 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/socat
$(1)/usr
/bin
/
60 $(eval
$(call BuildPackage
,socat
))