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>
This commit is contained in:
Will Newton 2012-10-19 03:05:17 +00:00 committed by Peter Korsgaard
parent c8fd94218e
commit 2073c21ec0
3 changed files with 24 additions and 0 deletions

View File

@ -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"

6
package/time/Config.in Normal file
View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_TIME
bool "time"
help
The GNU time utility.
http://savannah.gnu.org/projects/time/

17
package/time/time.mk Normal file
View File

@ -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))