CPAN-Plugin-Sysdeps
view release on metacpan or search on metacpan
lib/CPAN/Plugin/Sysdeps/Mapping.pm view on Meta::CPAN
# module's Build.PL would try to install the required package itself, which fails in unattended non-root setups
# unfortunately this does not help --- the module tries always to run the apt/dnf/... commands, even if the package is already installed
[cpanmod => 'Runtime::Debugger',
[like_debian,
[package => 'libreadline-dev']],
[like_fedora,
[package => 'readline-devel']],
],
[cpanmod => 'Search::Namazu',
[os_freebsd,
[package => 'namazu2']],
[like_debian,
[package => 'libnmz7-dev']],
[os_darwin,
[package => 'namazu']],
],
[cpanmod => 'Search::Odeum',
[os_freebsd,
[package => 'qdbm']],
[like_debian,
[package => 'libqdbm-dev']]],
[cpanmod => 'Search::Xapian',
[os_freebsd,
[package => 'xapian-core']],
[like_debian,
[package => 'libxapian-dev']],
[like_fedora,
[package => 'xapian-core-devel']],
[os_darwin,
[package => 'xapian']],
],
[cpanmod => 'SGML::Parser::OpenSP',
# XXX freebsd has textproc/opensp, but the module requires g++, so this will fail on clang++ systems
[like_debian,
[package => 'libosp-dev']],
[like_fedora,
[package => 'opensp-devel']],
],
## version mismatch
#[cpanmod => 'SNMP',
# [os_freebsd,
# [package => 'net-snmp']],
# [like_debian,
# [package => 'libsnmp-dev']],
# [like_fedora,
# [package => 'net-snmp-devel']],
#],
[cpanmod => 'SNMP::OID::Translate',
[os_freebsd,
[package => 'net-snmp']],
[like_debian,
[package => ['libsnmp-dev', 'snmp-mibs-downloader']]]],
[cpanmod => ['Sort::Naturally::ICU', 'Unicode::ICU::Collator'],
[os_freebsd,
[package => 'icu']], # but Sort::Naturally::ICU build fails
[like_debian,
[package => 'libicu-dev']],
[like_fedora, # Sort::Naturally::ICU builds on centos7 and fedora28, missing further packages on centos6
[package => 'libicu-devel']],
],
[cpanmod => 'Speech::Recognizer::SPX',
[os_freebsd,
[package => 'pocketsphinx']],
[like_debian,
[package => ['libpocketsphinx-dev', 'libsphinxbase-dev']]],
],
[cpanmod => ['Spread', 'Spread::Client::Constant'],
[os_freebsd,
# net/spread also exists, refering to version 3, but tests seem to pass with version 4
[package => 'spread4']],
[like_debian,
[linuxdistrocodename => 'squeeze',
[package => 'libspread1-dev']],
# not available in wheezy and later
]],
[cpanmod => 'SPVM',
# BSD make does not work anymore, see https://github.com/yuki-kimoto/SPVM/issues/856
[os_freebsd, [package => 'gmake']],
[os_dragonfly, [package => 'gmake']],
[os_openbsd, [package => 'gmake']],
],
[cpanmod => 'Store::CouchDB',
# tests pass also without, but most tests are skipped
[os_freebsd,
[package => 'couchdb']],
[like_debian,
[linuxdistrocodename => ['squeeze', 'jessie'],
[package => []], # not available in jessie, just wheezy and sid
],
[package => 'couchdb']]],
[cpanmod => ['SVN::Hooks', 'SVN::Agent', 'SVN::S4'], # XXX maybe more SVN::* modules?
[package => 'subversion']],
[cpanmod => 'Sword',
[os_freebsd,
[package => 'sword']],
[like_debian,
[package => 'libsword-dev']]],
[cpanmod => 'Sys::Gamin',
[os_freebsd,
[package => 'gamin'], # note: possible conflict with fam XXX maybe specify an alternative?
],
[like_debian,
[package => 'libfam-dev']]],
[cpanmod => 'Sys::Hwloc',
[os_freebsd,
[package => 'hwloc']],
[like_debian,
[package => 'libhwloc-dev']],
[like_fedora,
[package => 'hwloc-devel']],
( run in 0.910 second using v1.01-cache-2.11-cpan-63c85eba8c4 )