Added the empty package
authorSimon Dawson <spdawson@gmail.com>
Sat, 5 May 2012 20:59:00 +0000 (20:59 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 6 May 2012 08:01:35 +0000 (10:01 +0200)
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/empty/Config.in [new file with mode: 0644]
package/empty/empty.mk [new file with mode: 0644]

index 94d0fb47f0718c146f05dbb8e98de59db7571739..90b8e19053c72ffc31fd12c9a28b005a1cf8c1a9 100644 (file)
@@ -468,6 +468,7 @@ endmenu
 endmenu
 
 menu "Miscellaneous"
+source "package/empty/Config.in"
 source "package/shared-mime-info/Config.in"
 endmenu
 
diff --git a/package/empty/Config.in b/package/empty/Config.in
new file mode 100644 (file)
index 0000000..67b09fc
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_EMPTY
+       bool "empty"
+       help
+         Run processes and applications under pseudo-terminal (PTY) sessions.
+
+         http://empty.sourceforge.net/
diff --git a/package/empty/empty.mk b/package/empty/empty.mk
new file mode 100644 (file)
index 0000000..137e196
--- /dev/null
@@ -0,0 +1,18 @@
+#############################################################
+#
+# empty
+#
+#############################################################
+EMPTY_VERSION = 0.6.18b
+EMPTY_SOURCE = empty-$(EMPTY_VERSION).tgz
+EMPTY_SITE = http://downloads.sourceforge.net/project/empty/empty/empty-$(EMPTY_VERSION)
+
+define EMPTY_BUILD_CMDS
+       $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
+endef
+
+define EMPTY_INSTALL_TARGET_CMDS
+       $(INSTALL) -m 0755 -D $(@D)/empty $(TARGET_DIR)/usr/bin/empty
+endef
+
+$(eval $(call GENTARGETS))