diff --git a/utils/tar/Makefile b/utils/tar/Makefile index e204dce4f7..2c5a01a79f 100644 --- a/utils/tar/Makefile +++ b/utils/tar/Makefile @@ -35,7 +35,12 @@ include $(INCLUDE_DIR)/package.mk define Package/tar SECTION:=utils CATEGORY:=Utilities - DEPENDS:=+PACKAGE_TAR_POSIX_ACL:libacl +PACKAGE_TAR_XATTR:libattr +PACKAGE_TAR_BZIP2:bzip2 +PACKAGE_TAR_XZ:xz +PACKAGE_TAR_XZ:xz-utils + DEPENDS:= \ + +PACKAGE_TAR_BZIP2:bzip2 \ + +PACKAGE_TAR_POSIX_ACL:libacl \ + +PACKAGE_TAR_XATTR:libattr \ + +PACKAGE_TAR_ZSTD:libzstd \ + +PACKAGE_TAR_XZ:xz TITLE:=GNU tar URL:=https://www.gnu.org/software/tar/ MENU:=1 @@ -43,34 +48,31 @@ define Package/tar endef define Package/tar/config - if PACKAGE_tar - config PACKAGE_TAR_POSIX_ACL - bool "tar: Enable POSIX ACL support" - default y if USE_FS_ACL_ATTR - default n + config PACKAGE_TAR_POSIX_ACL + bool "tar: Enable POSIX ACL support" + default y if USE_FS_ACL_ATTR + default n - config PACKAGE_TAR_XATTR - bool "tar: Enable extended attribute (xattr) support" - default y if USE_FS_ACL_ATTR - default n + config PACKAGE_TAR_XATTR + bool "tar: Enable extended attribute (xattr) support" + default y if USE_FS_ACL_ATTR + default n - config PACKAGE_TAR_BZIP2 - bool "tar: Enable seamless bzip2 support" - default y + config PACKAGE_TAR_BZIP2 + bool "tar: Enable seamless bzip2 support" + default y - config PACKAGE_TAR_GZIP - bool "tar: Enable seamless gzip support. Needed for sysupgrade." - default y + config PACKAGE_TAR_GZIP + bool "tar: Enable seamless gzip support. Needed for sysupgrade." + default y - config PACKAGE_TAR_XZ - bool "tar: Enable seamless xz support" - default y + config PACKAGE_TAR_XZ + bool "tar: Enable seamless xz support" + default y - config PACKAGE_TAR_ZSTD - bool "tar: Enable seamless zstd support" - select PACKAGE_libzstd - default y - endif + config PACKAGE_TAR_ZSTD + bool "tar: Enable seamless zstd support" + default y endef define Package/tar/description