diff options
author | Alexander Dahl <post@lespocky.de> | 2014-01-23 10:45:59 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-01-23 17:42:48 +0100 |
commit | d8311d036a83cd7a1de4591c48e1beb8e99f02ce (patch) | |
tree | c3f44c2477bdeb1d8681baed003bcf8e662892ca /rules/host-system-perl.make | |
parent | 6bdd2f9c4dc1295afc186f2ada3788d541ddf5ab (diff) | |
download | ptxdist-d8311d036a83cd7a1de4591c48e1beb8e99f02ce.tar.gz ptxdist-d8311d036a83cd7a1de4591c48e1beb8e99f02ce.tar.xz |
host-perl: add modules JSON and Locale::PO
Signed-off-by: Alexander Dahl <post@lespocky.de>
[mol: whitespace and sorting cleanups]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-system-perl.make')
-rw-r--r-- | rules/host-system-perl.make | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/rules/host-system-perl.make b/rules/host-system-perl.make index 8a7b33cf0..e0415105b 100644 --- a/rules/host-system-perl.make +++ b/rules/host-system-perl.make @@ -22,6 +22,18 @@ $(STATEDIR)/host-system-perl.prepare: @echo "Checking for Perl ..." @perl -v >/dev/null 2>&1 || \ ptxd_bailout "'perl' not found! Please install."; +ifdef PTXCONF_HOST_SYSTEM_PERL_JSON + @echo "Checking for Perl: JSON" + @perl -e "require JSON" 2>/dev/null || \ + ptxd_bailout "JSON perl module is required. \ + Please install libjson-perl (debian)." +endif +ifdef PTXCONF_HOST_SYSTEM_PERL_LOCALE_PO + @echo "Checking for Perl: Locale::PO" + @perl -e "require Locale::PO" 2>/dev/null || \ + ptxd_bailout "Locale::PO perl module is required. \ + Please install liblocale-po-perl (debian)." +endif ifdef PTXCONF_HOST_SYSTEM_PERL_XMLPARSER @echo "Checking for Perl: XML::Parser" @perl -e "require XML::Parser" 2>/dev/null || \ |