2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2007-05-07 05:58:30 +02:00
|
|
|
#
|
|
|
|
# liblockfile
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-20 10:45:47 +01:00
|
|
|
|
|
|
|
LIBLOCKFILE_VERSION = 1.08
|
|
|
|
LIBLOCKFILE_SOURCE = liblockfile_$(LIBLOCKFILE_VERSION).orig.tar.gz
|
2014-07-31 10:46:58 +02:00
|
|
|
LIBLOCKFILE_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/libl/liblockfile
|
2013-01-20 10:45:47 +01:00
|
|
|
LIBLOCKFILE_PATCH = liblockfile_$(LIBLOCKFILE_VERSION)-4.debian.tar.bz2
|
2007-05-07 05:58:30 +02:00
|
|
|
|
2012-11-13 02:05:45 +01:00
|
|
|
LIBLOCKFILE_LICENSE = LGPLv2+, dotlockfile GPLv2+
|
|
|
|
# No license file included, it refers to the gnu.org website
|
|
|
|
|
2010-06-16 13:47:20 +02:00
|
|
|
LIBLOCKFILE_INSTALL_STAGING = YES
|
2014-09-27 21:32:44 +02:00
|
|
|
LIBLOCKFILE_CONF_OPTS = --mandir=/usr/share/man
|
2007-05-07 05:58:30 +02:00
|
|
|
|
2010-06-16 13:47:20 +02:00
|
|
|
define LIBLOCKFILE_INSTALL_STAGING_CMDS
|
2007-09-19 22:13:08 +02:00
|
|
|
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
|
2009-10-02 10:09:13 +02:00
|
|
|
ln -sf liblockfile.so $(STAGING_DIR)/usr/lib/liblockfile.so.1
|
2010-06-16 13:47:20 +02:00
|
|
|
endef
|
2007-05-07 05:58:30 +02:00
|
|
|
|
2010-06-16 13:47:20 +02:00
|
|
|
define LIBLOCKFILE_INSTALL_TARGET_CMDS
|
|
|
|
cp -a $(STAGING_DIR)/usr/lib/liblockfile.so* $(TARGET_DIR)/usr/lib
|
|
|
|
endef
|
2007-05-07 05:58:30 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|