diff options
author | Will Newton <will.newton@gmail.com> | 2012-10-19 03:05:17 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-10-20 21:09:58 +0200 |
commit | 2073c21ec041b6404b19e17e0f139ddbc639a35f (patch) | |
tree | 1a8e1a9b4726f5001e77d06b31cad802e121a856 /package/time | |
parent | c8fd94218ee6284061552ca5de2256417a21bcb9 (diff) | |
download | buildroot-novena-2073c21ec041b6404b19e17e0f139ddbc639a35f.tar.gz buildroot-novena-2073c21ec041b6404b19e17e0f139ddbc639a35f.zip |
package/time: New package for GNU time.
Signed-off-by: Will Newton <will.newton@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/time')
-rw-r--r-- | package/time/Config.in | 6 | ||||
-rw-r--r-- | package/time/time.mk | 17 |
2 files changed, 23 insertions, 0 deletions
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)) |