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
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_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_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_ZSTD
- bool "tar: Enable seamless zstd support"
- select PACKAGE_libzstd
- default y
- endif
+ 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_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_XZ
+ bool "tar: Enable seamless xz support"
+ default y
+
+ config PACKAGE_TAR_ZSTD
+ bool "tar: Enable seamless zstd support"
+ default y
endef
define Package/tar/description