![Rahul Bedarkar](/assets/img/avatar_default.png)
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>
29 lines
898 B
Makefile
29 lines
898 B
Makefile
################################################################################
|
|
#
|
|
# lockfile-progs
|
|
#
|
|
################################################################################
|
|
|
|
LOCKFILE_PROGS_VERSION = 0.1.17
|
|
LOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz
|
|
LOCKFILE_PROGS_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockfile-progs
|
|
LOCKFILE_PROGS_DEPENDENCIES = liblockfile
|
|
LOCKFILE_PROGS_LICENSE = GPL-2.0
|
|
LOCKFILE_PROGS_LICENSE_FILES = COPYING
|
|
|
|
LOCKFILE_BINS = \
|
|
$(addprefix lockfile-,check create remove touch) \
|
|
$(addprefix mail-,lock touchlock unlock)
|
|
|
|
define LOCKFILE_PROGS_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
|
|
for i in $(LOCKFILE_BINS); do \
|
|
$(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \
|
|
done
|
|
endef
|
|
|
|
$(eval $(generic-package))
|