From patchwork Fri Oct 19 13:05:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Newton X-Patchwork-Id: 192678 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id C1EA42C0090 for ; Sat, 20 Oct 2012 00:05:26 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EED8610B85D; Fri, 19 Oct 2012 13:05:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id arXvhs8-Wt+3; Fri, 19 Oct 2012 13:05:18 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 19FBB103C28; Fri, 19 Oct 2012 13:05:18 +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 CBED38F74A for ; Fri, 19 Oct 2012 13:05:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AB2048CDEB for ; Fri, 19 Oct 2012 13:05:20 +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 AzSMYjs+R2mE for ; Fri, 19 Oct 2012 13:05:18 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-oa0-f46.google.com (mail-oa0-f46.google.com [209.85.219.46]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6B6C781682 for ; Fri, 19 Oct 2012 13:05:18 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id h16so420186oag.33 for ; Fri, 19 Oct 2012 06:05:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ypNuTJYtrsviN0UJguxz50bRSRDKK71GSykLNh2EtfI=; b=BG4lWvaRXMroFd7oc5RKX8Xnaw7gqzS5lxfO3hG81QNwrM4RmOUoCAmyAREY5ZbqOa 2hMfrABVa7Xhw/OnG3zUcgQKcm2s2lW8tyR/5MrK1ulZb0Vlvgs395P0Rx0bn8+1vwMR AkPnAVxifeuxpSyA+FDiqbjzYZOSGti4BXZYfCfn7JPUQt7AvcP5LKgaTwdI1LKxqSui wE4tfl5dDo8u1y87rFrxCBLkU7OAfiYzsU5iaAjXN1nhEjydfsEk7QnJXJBeDXtry1wf lGGKKQXl9FCzMUVkmaMdn/EjEw4MzGqjrFnqLsQYuHaaZgZGqz+PwC7zWzZ4CtjspQw0 KyhQ== MIME-Version: 1.0 Received: by 10.182.145.2 with SMTP id sq2mr336504obb.45.1350651917557; Fri, 19 Oct 2012 06:05:17 -0700 (PDT) Received: by 10.60.95.4 with HTTP; Fri, 19 Oct 2012 06:05:17 -0700 (PDT) Date: Fri, 19 Oct 2012 14:05:17 +0100 Message-ID: From: Will Newton To: Buildroot List Subject: [Buildroot] [PATCH] package/time: New package for GNU time. 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Will Newton Acked-by: Arnout Vandecappelle (Essensium/Mind) Tested-by: Arnout Vandecappelle (Essensium/Mind) --- package/Config.in | 1 + package/time/Config.in | 6 ++++++ package/time/time.mk | 17 +++++++++++++++++ 3 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 package/time/Config.in create mode 100644 package/time/time.mk diff --git a/package/Config.in b/package/Config.in index d7b3db6..dd4c97e 100644 --- a/package/Config.in +++ b/package/Config.in @@ -672,6 +672,7 @@ source "package/logsurfer/Config.in" source "package/screen/Config.in" source "package/sudo/Config.in" if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS +source "package/time/Config.in" source "package/which/Config.in" endif source "package/xmlstarlet/Config.in" diff --git a/package/time/Config.in b/package/time/Config.in new file mode 100644 index 0000000..634d41a --- /dev/null +++ b/package/time/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_TIME + bool "time" + help + The GNU time utility. + + http://savannah.gnu.org/projects/time/ diff --git a/package/time/time.mk b/package/time/time.mk new file mode 100644 index 0000000..7b53286 --- /dev/null +++ b/package/time/time.mk @@ -0,0 +1,17 @@ +############################################################# +# +# time +# +############################################################# + +TIME_VERSION = 1.7 +TIME_SITE = $(BR2_GNU_MIRROR)/time +TIME_CONF_ENV = ac_cv_func_wait3=yes + +# time uses an old version of automake that does not support +# installing in DESTDIR. +define TIME_INSTALL_TARGET_CMDS + install -D -m 755 $(@D)/time $(TARGET_DIR)/usr/bin/time +endef + +$(eval $(autotools-package))