kumquat-buildroot/package/lockfile-progs/lockfile-progs.mk

33 lines
901 B
Makefile
Raw Normal View History

2007-05-07 05:58:30 +02:00
#############################################################
#
# lockfile-progs
#
#############################################################
LOCKFILE_PROGS_VERSION = 0.1.15
LOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz
LOCKFILE_PROGS_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/l/lockfile-progs/
2007-05-07 05:58:30 +02:00
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
2007-05-07 05:58:30 +02:00
define LOCKFILE_PROGS_INSTALL_TARGET_CMDS
for i in $(LOCKFILE_BINS); do \
install -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i; \
done
endef
define LOCKFILE_PROGS_UNINSTALL_TARGET_CMDS
rm -f $(addprefix $(TARGET_DIR)/usr/bin/,$(LOCKFILE_BINS))
endef
2007-05-07 05:58:30 +02:00
define LOCKFILE_PROGS_CLEAN_CMDS
-$(MAKE) -C $(@D) clean
endef
2007-05-07 05:58:30 +02:00
$(eval $(call GENTARGETS,package,lockfile-progs))