From ce1b09ccbf486f669ab693f5c32d3d06e71f6167 Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Thu, 18 Mar 2010 20:54:27 +0000 Subject: [PATCH] usocket openwrt --- openwrt-packages/usocket/Config.in | 5 ---- openwrt-packages/usocket/Makefile | 31 +++++++++++++++++++++++ openwrt-packages/usocket/serialconsole/Makefile | 31 ----------------------- 3 files changed, 31 insertions(+), 36 deletions(-) delete mode 100644 openwrt-packages/usocket/Config.in create mode 100644 openwrt-packages/usocket/Makefile delete mode 100644 openwrt-packages/usocket/serialconsole/Makefile diff --git a/openwrt-packages/usocket/Config.in b/openwrt-packages/usocket/Config.in deleted file mode 100644 index b275529..0000000 --- a/openwrt-packages/usocket/Config.in +++ /dev/null @@ -1,5 +0,0 @@ -config BR2_PACKAGE_USOCKET - tristate "usocket socket tool" - default m if CONFIG_DEVEL - help - connect stdin/stdout to unix socket diff --git a/openwrt-packages/usocket/Makefile b/openwrt-packages/usocket/Makefile new file mode 100644 index 0000000..abfa9d3 --- /dev/null +++ b/openwrt-packages/usocket/Makefile @@ -0,0 +1,31 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=usocket +PKG_VERSION:=0.2 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/usocket + +include $(INCLUDE_DIR)/package.mk + +define Package/usocket + SECTION:=base + CATEGORY:=Network + TITLE:=UnixSocket/ttys-ConsoleTool to be Called from ssh + URL:=http://www.realraum.at/ +endef + +define Build/Prepare + svn export --force https://svn.spreadspace.org/realraum/serial_console $(PKG_BUILD_DIR) +endef + +define Build/Configure +endef + +define Package/usocket/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/serial $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/usocket $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,usocket)) diff --git a/openwrt-packages/usocket/serialconsole/Makefile b/openwrt-packages/usocket/serialconsole/Makefile deleted file mode 100644 index 08cb002..0000000 --- a/openwrt-packages/usocket/serialconsole/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=usocket -PKG_VERSION:=0.1 -PKG_RELEASE:=1 - -PKG_BUILD_DIR:=$(BUILD_DIR)/usocket - -include $(INCLUDE_DIR)/package.mk - -define Package/usocket - SECTION:=base - CATEGORY:=Network - TITLE:=UnixSocket/ttys-ConsoleTool to be Called from ssh - URL:=http://www.realraum.at/ -endef - -define Build/Prepare - svn export --force https://svn.spreadspace.org/realraum/serial_console $(PKG_BUILD_DIR) -endef - -define Build/Configure -endef - -define Package/usocket/install - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/serial $(1)/usr/bin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/usocket $(1)/usr/bin/ -endef - -$(eval $(call BuildPackage,usocket)) -- 1.7.10.4