1 ################################################################################
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
= \
18 CFLAGS
="$(TARGET_CFLAGS)" \
19 CPPFLAGS
="$(TARGET_CPPFLAGS) -I." \
22 ifeq ($(BR2_SHARED_LIBS
),y
)
23 KEYUTILS_MAKE_PARAMS
+= NO_ARLIB
=1
26 define KEYUTILS_BUILD_CMDS
27 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) $(KEYUTILS_MAKE_PARAMS
) -C
$(@D
)
30 define KEYUTILS_INSTALL_STAGING_CMDS
31 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) $(KEYUTILS_MAKE_PARAMS
) -C
$(@D
) DESTDIR
=$(STAGING_DIR
) install
34 define KEYUTILS_INSTALL_TARGET_CMDS
35 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) $(KEYUTILS_MAKE_PARAMS
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
) install
38 $(eval
$(generic-package
))