summaryrefslogtreecommitdiff
path: root/package/socat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/socat/Makefile')
-rw-r--r--package/socat/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/package/socat/Makefile b/package/socat/Makefile
new file mode 100644
index 000000000..47a40755a
--- /dev/null
+++ b/package/socat/Makefile
@@ -0,0 +1,32 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= socat
+PKG_VERSION:= 1.7.0.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 82967132b5a8ca4d07e54370fdcb2662
+MASTER_SITES:= http://www.dest-unreach.org/socat/download/
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,SOCAT,socat,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= sc_cv_termios_ispeed="no" \
+ sc_cv_sys_crdly_shift=9 \
+ sc_cv_sys_tabdly_shift=11 \
+ sc_cv_sys_csize_shift=4
+CONFIGURE_ARGS+= --disable-libwrap \
+ --disable-readline
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_SOCAT}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/socat ${IDIR_SOCAT}/usr/bin/
+
+include ${TOPDIR}/mk/pkg-bottom.mk