1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# lockfile-progs 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunLOCKFILE_PROGS_VERSION = 0.1.19 8*4882a593SmuzhiyunLOCKFILE_PROGS_SOURCE = lockfile-progs_$(LOCKFILE_PROGS_VERSION).tar.gz 9*4882a593SmuzhiyunLOCKFILE_PROGS_SITE = http://snapshot.debian.org/archive/debian/20210903T205304Z/pool/main/l/lockfile-progs 10*4882a593SmuzhiyunLOCKFILE_PROGS_DEPENDENCIES = liblockfile 11*4882a593SmuzhiyunLOCKFILE_PROGS_LICENSE = GPL-2.0 12*4882a593SmuzhiyunLOCKFILE_PROGS_LICENSE_FILES = COPYING 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunLOCKFILE_PROGS_BINS = \ 15*4882a593Smuzhiyun $(addprefix lockfile-,check create remove touch) \ 16*4882a593Smuzhiyun $(addprefix mail-,lock touchlock unlock) 17*4882a593Smuzhiyun 18*4882a593Smuzhiyundefine LOCKFILE_PROGS_BUILD_CMDS 19*4882a593Smuzhiyun $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) 20*4882a593Smuzhiyunendef 21*4882a593Smuzhiyun 22*4882a593Smuzhiyundefine LOCKFILE_PROGS_INSTALL_TARGET_CMDS 23*4882a593Smuzhiyun for i in $(LOCKFILE_PROGS_BINS); do \ 24*4882a593Smuzhiyun $(INSTALL) -D -m 755 $(@D)/bin/$$i $(TARGET_DIR)/usr/bin/$$i || exit 1; \ 25*4882a593Smuzhiyun done 26*4882a593Smuzhiyunendef 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun$(eval $(generic-package)) 29