summaryrefslogtreecommitdiffstats
path: root/package/time/time.mk
diff options
context:
space:
mode:
authorWill Newton <will.newton@gmail.com>2012-10-19 03:05:17 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-10-20 21:09:58 +0200
commit2073c21ec041b6404b19e17e0f139ddbc639a35f (patch)
tree1a8e1a9b4726f5001e77d06b31cad802e121a856 /package/time/time.mk
parentc8fd94218ee6284061552ca5de2256417a21bcb9 (diff)
downloadbuildroot-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/time.mk')
-rw-r--r--package/time/time.mk17
1 files changed, 17 insertions, 0 deletions
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))