config BR2_PACKAGE_CPANMINUS
	bool "cpanminus"
	# Requires host-qemu, which cannot work properly due to kernel
	# headers mismatch between the build environment and the
	# target.
	depends on BR2_BROKEN
	help
	  cpanminus is a script to get, unpack, build and install Perl modules
	  from CPAN.

	  Why? It's dependency free, requires zero configuration, and stands
	  alone. When running, it requires only 10MB of RAM.

	  http://github.com/miyagawa/cpanminus

if BR2_PACKAGE_CPANMINUS

config BR2_PACKAGE_CPANMINUS_MIRROR
	string "mirror"
	help
	  Specifies the base URL for the CPAN mirror to use,
	  such as http://cpan.cpantesters.org/.

config BR2_PACKAGE_CPANMINUS_MODULES
	string "Perl modules from CPAN"
	default "Curses::UI"
	help
	  List of space-separated Perl modules to install from CPAN.

	  Examples: Try::Tiny Dancer YAML Moo

	  Install the listed modules and their dependencies.

config BR2_PACKAGE_CPANMINUS_NATIVE_DEPENDENCIES
	string "native dependencies"
	default "ncurses"
	help
	  Some XS modules require native libraries.

endif
