From patchwork Tue Apr 10 09:15:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Dawson X-Patchwork-Id: 151526 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 99299B702A for ; Tue, 10 Apr 2012 19:15:56 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 276DFA0179; Tue, 10 Apr 2012 09:15:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ljxtit3Ir7cw; Tue, 10 Apr 2012 09:15:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 225ADA0167; Tue, 10 Apr 2012 09:15:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id ECA4A8F753 for ; Tue, 10 Apr 2012 09:15:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D0A428C95F for ; Tue, 10 Apr 2012 09:15:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LjBwa2UzjNCK for ; Tue, 10 Apr 2012 09:15:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bk0-f43.google.com (mail-bk0-f43.google.com [209.85.214.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id 7A1C78C96F for ; Tue, 10 Apr 2012 09:15:48 +0000 (UTC) Received: by bkwj5 with SMTP id j5so8171888bkw.16 for ; Tue, 10 Apr 2012 02:15:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=gpepiF65gv77tFNbZvZd8TILInjvSyobQw9k42hFVHU=; b=v+dqDe+4JEjEVejW+ePKAvDLbKKrrnqtAYSL6DWg5BnMqyNOCQ5fRb+RtuGLbTIt9Y sqIYrrrVSVk0H0qzn5MooF0DpS8JIvnh3NITjiMdnc3N438Kg3/viOesGLIvo2YgLJRA BV0Dlvc8rggNCO+AdRHIq7ZBMXaeJXoon2Lgkfio3pCF4vXZ8WRGppP7N84t3sWbpDpU ZvMtz0tZsJBBdbEtidQ/GIMKzCocv8L9PbnA4dwCZCpHCCxjhan2TEsIP6QcGkNrXa2l 49kSXeO7vcm283lqpH+Ag/sRiVo1N9bfmxKSCDjymOesJnuFwks5PBM2vTaKzNTTHC89 XNJA== Received: by 10.204.156.204 with SMTP id y12mr4493614bkw.130.1334049346598; Tue, 10 Apr 2012 02:15:46 -0700 (PDT) Received: from percy.train.local ([213.170.149.177]) by mx.google.com with ESMTPS id gw19sm31558375bkc.8.2012.04.10.02.15.42 (version=SSLv3 cipher=OTHER); Tue, 10 Apr 2012 02:15:45 -0700 (PDT) From: spdawson@gmail.com To: buildroot@busybox.net Date: Tue, 10 Apr 2012 10:15:34 +0100 Message-Id: <1334049334-9276-1-git-send-email-spdawson@gmail.com> X-Mailer: git-send-email 1.7.5.4 Subject: [Buildroot] [PATCH] Added the empty package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Simon Dawson Signed-off-by: Simon Dawson --- Improved patch in response to comments package/Config.in | 1 + package/empty/Config.in | 6 ++++++ package/empty/empty.mk | 19 +++++++++++++++++++ 3 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 package/empty/Config.in create mode 100644 package/empty/empty.mk 1.7.5.4 diff --git a/package/Config.in b/package/Config.in index 4c6d4d8..205fa8a 100644 --- a/package/Config.in +++ b/package/Config.in @@ -426,6 +426,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 index 0000000..67b09fc --- /dev/null +++ b/package/empty/Config.in @@ -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 index 0000000..d15a18f --- /dev/null +++ b/package/empty/empty.mk @@ -0,1 +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 + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) all +endef + +define EMPTY_INSTALL_TARGET_CMDS + $(INSTALL) -D $(@D)/empty $(TARGET_DIR)/usr/bin/empty +endef + +$(eval $(call GENTARGETS)) --