summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/dtach/Config.in8
-rw-r--r--package/dtach/dtach.mk17
3 files changed, 26 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 94e279b3a..c66e13964 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 000000000..033536bdb
--- /dev/null
+++ b/package/dtach/Config.in
@@ -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
index 000000000..77ad7c027
--- /dev/null
+++ b/package/dtach/dtach.mk
@@ -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))