comment "libarchive needs a toolchain w/ wchar"
	depends on !BR2_USE_WCHAR

config BR2_PACKAGE_LIBARCHIVE
	bool "libarchive"
	depends on BR2_USE_WCHAR
	help
	  Libarchive is a reusable C library for reading and writing a
	  variety of streaming archive formats.

	  https://www.libarchive.org/

if BR2_PACKAGE_LIBARCHIVE

config BR2_PACKAGE_LIBARCHIVE_BSDTAR
	bool "bsdtar"
	help
	  The 'bsdtar' program is a full-featured 'tar'
	  replacement built on libarchive.

config BR2_PACKAGE_LIBARCHIVE_BSDCPIO
	bool "bsdcpio"
	help
	  The 'bsdcpio' program is a different interface to
	  essentially the same functionality as 'bsdtar'.

config BR2_PACKAGE_LIBARCHIVE_BSDCAT
	bool "bsdcat"
	help
	  The 'bsdcat' program is a simple replacement tool
	  for zcat, bzcat, xzcat, and such.

config BR2_PACKAGE_LIBARCHIVE_BSDUNZIP
	bool "bsdunzip"
	help
	  The 'bsdunzip' program is a simple replacement tool
	  for Info-ZIP.

endif
