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
|
|
|
|
2013-10-06 20:36:12 +02:00
|
|
|
LOCKFILE_PROGS_VERSION = 0.1.17
|
2010-09-26 09:14:08 +02:00
|
|
|
LOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz
|
|
|
|
LOCKFILE_PROGS_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/l/lockfile-progs/
|
2011-04-24 23:54:28 +02:00
|
|
|
LOCKFILE_PROGS_DEPENDENCIES = liblockfile
|
2012-11-13 02:05:48 +01:00
|
|
|
LOCKFILE_PROGS_LICENSE = GPLv2
|
|
|
|
LOCKFILE_PROGS_LICENSE_FILES = COPYING
|
2007-05-07 05:58:30 +02:00
|
|
|
|
2010-09-29 22:40:31 +02:00
|
|
|
LOCKFILE_BINS = \
|
|
|
|
$(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
|
2010-09-29 22:40:31 +02:00
|
|
|
for i in $(LOCKFILE_BINS); do \
|
|
|
|
install -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i; \
|
|
|
|
done
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|