From 2c3879aa754f7585d3d695c7df9951ec29555037 Mon Sep 17 00:00:00 2001 From: mb Date: Tue, 19 Oct 2010 10:57:21 +0000 Subject: [PATCH] intltool: Check for Perl XML prereq git-svn-id: svn://svn.openwrt.org/openwrt/packages@23538 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/intltool/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libs/intltool/Makefile b/libs/intltool/Makefile index 1b1d704bb..2d76bcf6c 100644 --- a/libs/intltool/Makefile +++ b/libs/intltool/Makefile @@ -34,5 +34,13 @@ define Package/intltool/description file formats using GNU gettext-compatible PO files. endef +define Require/perl-xml-parser + perl -e 'use XML::Parser;' +endef + +$(eval $(call Require,perl-xml-parser, \ + Please install Perl XML::Parser \ +)) + $(eval $(call BuildPackage,intltool)) $(eval $(call HostBuild))