Blame view

buildroot/buildroot-2016.08.1/package/liblockfile/liblockfile.mk 1.02 KB
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  ################################################################################
  #
  # liblockfile
  #
  ################################################################################
  
  LIBLOCKFILE_VERSION = 1.09
  LIBLOCKFILE_SOURCE = liblockfile_$(LIBLOCKFILE_VERSION).orig.tar.gz
  LIBLOCKFILE_SITE = http://snapshot.debian.org/archive/debian/20151026T153523Z/pool/main/libl/liblockfile
  LIBLOCKFILE_PATCH = liblockfile_$(LIBLOCKFILE_VERSION)-6.debian.tar.bz2
  
  LIBLOCKFILE_LICENSE = LGPLv2+, dotlockfile GPLv2+
  LIBLOCKFILE_LICENSE_FILES = COPYRIGHT
  
  LIBLOCKFILE_INSTALL_STAGING = YES
  LIBLOCKFILE_CONF_OPTS = --mandir=/usr/share/man
  
  define LIBLOCKFILE_INSTALL_STAGING_CMDS
  	mkdir -p $(addprefix $(STAGING_DIR)/usr/share/man/man,1 3)
  	rm -f $(STAGING_DIR)/usr/lib/liblockfile.so
  	$(MAKE) -C $(LIBLOCKFILE_DIR) ROOT=$(STAGING_DIR) install
  	ln -sf liblockfile.so $(STAGING_DIR)/usr/lib/liblockfile.so.1
  endef
  
  define LIBLOCKFILE_INSTALL_TARGET_CMDS
  	cp -a $(STAGING_DIR)/usr/lib/liblockfile.so* $(TARGET_DIR)/usr/lib
  endef
  
  $(eval $(autotools-package))