2013-06-25 22:41:07 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# pax-utils
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-01-31 11:30:06 +01:00
|
|
|
PAX_UTILS_VERSION = 1.1.4
|
2013-06-25 22:41:07 +02:00
|
|
|
PAX_UTILS_SITE = http://distfiles.gentoo.org/distfiles
|
|
|
|
PAX_UTILS_SOURCE = pax-utils-$(PAX_UTILS_VERSION).tar.xz
|
|
|
|
PAX_UTILS_LICENSE = GPLv2
|
|
|
|
PAX_UTILS_LICENSE_FILES = COPYING
|
|
|
|
|
2016-03-11 19:04:45 +01:00
|
|
|
PAX_UTILS_DEPENDENCIES = host-pkgconf
|
|
|
|
PAX_UTILS_CONF_OPTS = --without-python
|
|
|
|
|
2013-06-25 22:41:07 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
|
|
|
PAX_UTILS_DEPENDENCIES += libcap
|
2016-03-11 19:04:45 +01:00
|
|
|
PAX_UTILS_CONF_OPTS += --with-caps
|
|
|
|
else
|
|
|
|
PAX_UTILS_CONF_OPTS += --without-caps
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
|
|
|
PAX_UTILS_DEPENDENCIES += libseccomp
|
|
|
|
PAX_UTILS_CONF_OPTS += --with-seccomp
|
|
|
|
else
|
|
|
|
PAX_UTILS_CONF_OPTS += --without-seccomp
|
2013-06-25 22:41:07 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
# libcap is only useful for pspax (a running system)
|
|
|
|
HOST_PAX_UTILS_DEPENDENCIES =
|
|
|
|
|
|
|
|
# lddtree and symtree need bash
|
|
|
|
ifeq ($(BR2_PACKAGE_BASH),)
|
|
|
|
define PAX_UTILS_REMOVE_BASH_TOOLS
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/{lddtree,symtree}
|
|
|
|
endef
|
|
|
|
endif
|
|
|
|
PAX_UTILS_POST_INSTALL_TARGET_HOOKS += PAX_UTILS_REMOVE_BASH_TOOLS
|
|
|
|
|
2016-03-11 19:04:45 +01:00
|
|
|
$(eval $(autotools-package))
|
|
|
|
$(eval $(host-autotools-package))
|