Patch `configure` and the shipped `intltool.m4` macro file to make a missing XML::Parser perl module nonfatal. All utilities provided by intltool are programmed to fail gracefully at run time if the module cannot be loaded and those utilities commonly used during the build do not require it at all. Also drop the the build-prereq on XML::Parser now that it is optional. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
40 lines
1,009 B
Makefile
40 lines
1,009 B
Makefile
#
|
|
# Copyright (C) 2009-2014 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=intltool
|
|
PKG_LIBVER:=0.40
|
|
PKG_VERSION:=$(PKG_LIBVER).6
|
|
PKG_RELEASE:=3
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
PKG_SOURCE_URL:=@GNOME/intltool/$(PKG_LIBVER)
|
|
PKG_MD5SUM:=69bc0353323112f42ad4f9cf351bc3e5
|
|
PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
|
|
|
|
PKG_HOST_ONLY:=1
|
|
HOST_FIXUP:=autoreconf
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/intltool
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=set of tools to centralize translation using GNU gettext
|
|
URL:=http://www.freedesktop.org/wiki/Software/intltool
|
|
BUILDONLY:=1
|
|
endef
|
|
|
|
define Package/intltool/description
|
|
intltool is a set of tools to centralize translation of many different
|
|
file formats using GNU gettext-compatible PO files.
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,intltool))
|
|
$(eval $(call HostBuild))
|