board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / liblockfile / liblockfile.mk
blob59fced68513ee92d0a23312e12010d4508c7400d
1 ################################################################################
3 # liblockfile
5 ################################################################################
7 LIBLOCKFILE_VERSION = 1.09
8 LIBLOCKFILE_SOURCE = liblockfile_$(LIBLOCKFILE_VERSION).orig.tar.gz
9 LIBLOCKFILE_SITE = http://snapshot.debian.org/archive/debian/20151026T153523Z/pool/main/libl/liblockfile
10 LIBLOCKFILE_PATCH = liblockfile_$(LIBLOCKFILE_VERSION)-6.debian.tar.bz2
12 LIBLOCKFILE_LICENSE = LGPLv2+, GPLv2+ (dotlockfile)
13 LIBLOCKFILE_LICENSE_FILES = COPYRIGHT
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 $(TARGET_MAKE_ENV) $(MAKE) -C $(LIBLOCKFILE_DIR) ROOT=$(STAGING_DIR) install
22 ln -sf liblockfile.so $(STAGING_DIR)/usr/lib/liblockfile.so.1
23 endef
25 define LIBLOCKFILE_INSTALL_TARGET_CMDS
26 cp -a $(STAGING_DIR)/usr/lib/liblockfile.so* $(TARGET_DIR)/usr/lib
27 endef
29 $(eval $(autotools-package))