From 2073c21ec041b6404b19e17e0f139ddbc639a35f Mon Sep 17 00:00:00 2001 From: Will Newton Date: Fri, 19 Oct 2012 03:05:17 +0000 Subject: package/time: New package for GNU time. Signed-off-by: Will Newton Acked-by: Arnout Vandecappelle (Essensium/Mind) Tested-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/time/Config.in | 6 ++++++ package/time/time.mk | 17 +++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 package/time/Config.in create mode 100644 package/time/time.mk (limited to 'package') diff --git a/package/Config.in b/package/Config.in index d7b3db6eb..dd4c97ec1 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 000000000..634d41a49 --- /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 000000000..7b53286de --- /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)) -- cgit v1.2.3