python-treq: bump to version 16.12.0
[buildroot-gz.git] / package / keyutils / keyutils.mk
blob4a8dbace0402e263e4631adbd75fd63cae2e3a41
1 ################################################################################
3 # keyutils
5 ################################################################################
7 KEYUTILS_VERSION = 1.5.9
8 KEYUTILS_SOURCE = keyutils-$(KEYUTILS_VERSION).tar.bz2
9 KEYUTILS_SITE = http://people.redhat.com/~dhowells/keyutils
10 KEYUTILS_LICENSE = GPLv2+, LGPLv2.1+
11 KEYUTILS_LICENSE_FILES = LICENCE.GPL LICENCE.LGPL
12 KEYUTILS_INSTALL_STAGING = YES
14 KEYUTILS_MAKE_PARAMS = \
15 INSTALL=$(INSTALL) \
16 LIBDIR=/usr/lib \
17 USRLIBDIR=/usr/lib \
18 CFLAGS="$(TARGET_CFLAGS)" \
19 CPPFLAGS="$(TARGET_CPPFLAGS) -I." \
20 LNS="$(HOSTLN) -sf"
22 ifeq ($(BR2_SHARED_LIBS),y)
23 KEYUTILS_MAKE_PARAMS += NO_ARLIB=1
24 endif
26 define KEYUTILS_BUILD_CMDS
27 $(TARGET_CONFIGURE_OPTS) $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D)
28 endef
30 define KEYUTILS_INSTALL_STAGING_CMDS
31 $(TARGET_CONFIGURE_OPTS) $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D) DESTDIR=$(STAGING_DIR) install
32 endef
34 define KEYUTILS_INSTALL_TARGET_CMDS
35 $(TARGET_CONFIGURE_OPTS) $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D) DESTDIR=$(TARGET_DIR) install
36 endef
38 $(eval $(generic-package))