1 ################################################################################
5 ################################################################################
7 LIBLOCKFILE_VERSION = 1.08
8 LIBLOCKFILE_SOURCE = liblockfile_$(LIBLOCKFILE_VERSION).orig.tar.gz
9 LIBLOCKFILE_SITE = http://snapshot.debian.org/archive/debian/20141023T043132Z/pool/main/libl/liblockfile
10 LIBLOCKFILE_PATCH = liblockfile_$(LIBLOCKFILE_VERSION)-4.debian.tar.bz2
12 LIBLOCKFILE_LICENSE = LGPLv2+, dotlockfile GPLv2+
13 # No license file included, it refers to the gnu.org website
15 LIBLOCKFILE_INSTALL_STAGING = YES
16 LIBLOCKFILE_CONF_OPTS = --mandir=/usr/share/man
18 define LIBLOCKFILE_INSTALL_STAGING_CMDS
19 mkdir -p $(addprefix $(STAGING_DIR)/usr/share/man/man,1 3)
20 rm -f $(STAGING_DIR)/usr/lib/liblockfile.so
21 $(MAKE) -C $(LIBLOCKFILE_DIR) ROOT=$(STAGING_DIR) install
22 ln -sf liblockfile.so $(STAGING_DIR)/usr/lib/liblockfile.so.1
25 define LIBLOCKFILE_INSTALL_TARGET_CMDS
26 cp -a $(STAGING_DIR)/usr/lib/liblockfile.so* $(TARGET_DIR)/usr/lib
29 $(eval $(autotools-package))