2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-05-07 05:58:30 +02:00
|
|
|
#
|
|
|
|
# lockfile-progs
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2019-09-21 21:22:43 +02:00
|
|
|
LOCKFILE_PROGS_VERSION = 0.1.18
|
2010-09-26 09:14:08 +02:00
|
|
|
LOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz
|
2019-09-21 21:22:43 +02:00
|
|
|
LOCKFILE_PROGS_SITE = http://snapshot.debian.org/archive/debian/20180903T205652Z/pool/main/l/lockfile-progs
|
2011-04-24 23:54:28 +02:00
|
|
|
LOCKFILE_PROGS_DEPENDENCIES = liblockfile
|
2017-03-30 15:43:32 +02:00
|
|
|
LOCKFILE_PROGS_LICENSE = GPL-2.0
|
2012-11-13 02:05:48 +01:00
|
|
|
LOCKFILE_PROGS_LICENSE_FILES = COPYING
|
2007-05-07 05:58:30 +02:00
|
|
|
|
2017-11-30 00:08:41 +01:00
|
|
|
LOCKFILE_PROGS_BINS = \
|
2010-09-29 22:40:31 +02:00
|
|
|
$(addprefix lockfile-,check create remove touch) \
|
|
|
|
$(addprefix mail-,lock touchlock unlock)
|
|
|
|
|
2010-09-26 09:14:08 +02:00
|
|
|
define LOCKFILE_PROGS_BUILD_CMDS
|
|
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
|
|
endef
|
2007-05-07 05:58:30 +02:00
|
|
|
|
2010-09-26 09:14:08 +02:00
|
|
|
define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
|
2017-11-30 00:08:41 +01:00
|
|
|
for i in $(LOCKFILE_PROGS_BINS); do \
|
2014-11-30 15:18:35 +01:00
|
|
|
$(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \
|
2010-09-29 22:40:31 +02:00
|
|
|
done
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|