board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / lockfile-progs / lockfile-progs.mk
blobdeb9f90812d8c18b911d445b0fdcf275c104b81d
1 ################################################################################
3 # lockfile-progs
5 ################################################################################
7 LOCKFILE_PROGS_VERSION = 0.1.17
8 LOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz
9 LOCKFILE_PROGS_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/l/lockfile-progs
10 LOCKFILE_PROGS_DEPENDENCIES = liblockfile
11 LOCKFILE_PROGS_LICENSE = GPLv2
12 LOCKFILE_PROGS_LICENSE_FILES = COPYING
14 LOCKFILE_BINS = \
15 $(addprefix lockfile-,check create remove touch) \
16 $(addprefix mail-,lock touchlock unlock)
18 define LOCKFILE_PROGS_BUILD_CMDS
19 $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
20 endef
22 define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
23 for i in $(LOCKFILE_BINS); do \
24 $(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \
25 done
26 endef
28 $(eval $(generic-package))