1 ################################################################################
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
20 PAX_UTILS_CONF_OPTS
+= --without-caps
23 ifeq ($(BR2_PACKAGE_LIBSECCOMP
),y
)
24 PAX_UTILS_DEPENDENCIES
+= libseccomp
25 PAX_UTILS_CONF_OPTS
+= --with-seccomp
27 PAX_UTILS_CONF_OPTS
+= --without-seccomp
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
}
36 PAX_UTILS_POST_INSTALL_TARGET_HOOKS
+= PAX_UTILS_REMOVE_BASH_TOOLS
38 $(eval
$(autotools-package
))
39 $(eval
$(host-autotools-package
))