kmod: bump to version 24
[buildroot-gz.git] / package / pax-utils / pax-utils.mk
blob8d5f3eea73c777b01ca812e26ac11406e707f007
1 ################################################################################
3 # pax-utils
5 ################################################################################
7 PAX_UTILS_VERSION = 1.1.4
8 PAX_UTILS_SITE = http://distfiles.gentoo.org/distfiles
9 PAX_UTILS_SOURCE = pax-utils-$(PAX_UTILS_VERSION).tar.xz
10 PAX_UTILS_LICENSE = GPLv2
11 PAX_UTILS_LICENSE_FILES = COPYING
13 PAX_UTILS_DEPENDENCIES = host-pkgconf
14 PAX_UTILS_CONF_OPTS = --without-python
16 ifeq ($(BR2_PACKAGE_LIBCAP),y)
17 PAX_UTILS_DEPENDENCIES += libcap
18 PAX_UTILS_CONF_OPTS += --with-caps
19 else
20 PAX_UTILS_CONF_OPTS += --without-caps
21 endif
23 ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
24 PAX_UTILS_DEPENDENCIES += libseccomp
25 PAX_UTILS_CONF_OPTS += --with-seccomp
26 else
27 PAX_UTILS_CONF_OPTS += --without-seccomp
28 endif
30 # lddtree and symtree need bash
31 ifeq ($(BR2_PACKAGE_BASH),)
32 define PAX_UTILS_REMOVE_BASH_TOOLS
33 rm -f $(TARGET_DIR)/usr/bin/{lddtree,symtree}
34 endef
35 endif
36 PAX_UTILS_POST_INSTALL_TARGET_HOOKS += PAX_UTILS_REMOVE_BASH_TOOLS
38 $(eval $(autotools-package))
39 $(eval $(host-autotools-package))