summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-06-10 14:15:48 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-06-10 14:15:48 +0200
commitc324cf05be628b5506a1077a711a59a7a501b24d (patch)
tree03d2e51680bc6dc2e0f268cbec84d4a86e77e082
parente446aa072a9504906dc01070847a9048410e218f (diff)
downloadbuildroot-novena-c324cf05be628b5506a1077a711a59a7a501b24d.tar.gz
buildroot-novena-c324cf05be628b5506a1077a711a59a7a501b24d.zip
package: add sredird
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/sredird/Config.in6
-rw-r--r--package/sredird/sredird.mk27
3 files changed, 34 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 40f523de2..a03896a6b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -202,6 +202,7 @@ endif
source "package/smartmontools/Config.in"
source "package/squashfs/Config.in"
source "package/squashfs3/Config.in"
+source "package/sredird/Config.in"
source "package/sshfs/Config.in"
source "package/sysstat/Config.in"
source "package/udev/Config.in"
diff --git a/package/sredird/Config.in b/package/sredird/Config.in
new file mode 100644
index 000000000..463269a75
--- /dev/null
+++ b/package/sredird/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_SREDIRD
+ bool "sredird"
+ help
+ Sredird is a serial port redirector that is compliant with
+ the RFC 2217 "Telnet Com Port Control Option" protocol. This
+ protocol lets you share a serial port through the network.
diff --git a/package/sredird/sredird.mk b/package/sredird/sredird.mk
new file mode 100644
index 000000000..ad91f6a41
--- /dev/null
+++ b/package/sredird/sredird.mk
@@ -0,0 +1,27 @@
+#############################################################
+#
+# sredird
+#
+#############################################################
+
+SREDIRD_VERSION = 2.2.1-1.1
+SREDIRD_SOURCE = sredird_$(SREDIRD_VERSION).tar.gz
+SREDIRD_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/s/sredird
+
+define SREDIRD_BUILD_CMDS
+ $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define SREDIRD_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/sredird $(TARGET_DIR)/usr/sbin/sredird
+endef
+
+define SREDIRD_UNINSTALL_TARGET_CMDS
+ rm -f $(TARGET_DIR)/usr/sbin/sredird
+endef
+
+define SREDIRD_CLEAN_CMDS
+ rm -f $(@D)/sredird
+endef
+
+$(eval $(call GENTARGETS,package,sredird))