buildroot/package/time/time.mk
Rahul Bedarkar af31c309e7 boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+
We want to use SPDX identifier for license strings as much as possible.
SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+.

This change is done by using following command.
find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g'

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-01 15:16:38 +02:00

20 lines
534 B
Makefile

################################################################################
#
# time
#
################################################################################
TIME_VERSION = 1.7
TIME_SITE = $(BR2_GNU_MIRROR)/time
TIME_CONF_ENV = ac_cv_func_wait3=yes
TIME_LICENSE = GPL-2.0+
TIME_LICENSE_FILES = COPYING
# 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))