dtach: new package
authorJustin Maggard <jmaggard@netgear.com>
Sun, 24 Mar 2013 08:19:23 +0000 (08:19 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Mar 2013 18:39:46 +0000 (19:39 +0100)
Signed-off-by: Justin Maggard <jmaggard@netgear.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/dtach/Config.in [new file with mode: 0644]
package/dtach/dtach.mk [new file with mode: 0644]

index 94e279b3af1392e8f09233e31c15335e5a3b62c5..c66e1396452ae9f0ac9b9f7f2893382d97b035a7 100644 (file)
@@ -774,6 +774,7 @@ source "package/bash/Config.in"
 source "package/dash/Config.in"
 endif
 source "package/dialog/Config.in"
+source "package/dtach/Config.in"
 source "package/file/Config.in"
 source "package/gnupg/Config.in"
 source "package/inotify-tools/Config.in"
diff --git a/package/dtach/Config.in b/package/dtach/Config.in
new file mode 100644 (file)
index 0000000..033536b
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_DTACH
+       bool "dtach"
+       help
+         dtach is a tiny program that emulates the detach feature of screen,
+         allowing you to run a program in an environment that is protected
+         from the controlling terminal and attach to it later.
+
+         http://dtach.sourceforge.net/
diff --git a/package/dtach/dtach.mk b/package/dtach/dtach.mk
new file mode 100644 (file)
index 0000000..77ad7c0
--- /dev/null
@@ -0,0 +1,17 @@
+#############################################################
+#
+# dtach
+#
+#############################################################
+
+DTACH_VERSION = 0.8
+DTACH_SITE = http://downloads.sourceforge.net/project/dtach/dtach/$(DTACH_VERSION)
+DTACH_LICENSE = GPLv2+
+DTACH_LICENSE_FILES = COPYING
+
+# The Makefile does not have an install target.
+define DTACH_INSTALL_TARGET_CMDS
+        $(INSTALL) -D -m 0755 $(@D)/dtach $(TARGET_DIR)/usr/bin/dtach
+endef
+
+$(eval $(autotools-package))