You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2009-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=intltool
  9. PKG_LIBVER:=0.40
  10. PKG_VERSION:=$(PKG_LIBVER).6
  11. PKG_RELEASE:=2
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. PKG_SOURCE_URL:=@GNOME/intltool/$(PKG_LIBVER)
  14. PKG_MD5SUM:=69bc0353323112f42ad4f9cf351bc3e5
  15. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  16. PKG_HOST_ONLY:=1
  17. include $(INCLUDE_DIR)/host-build.mk
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/intltool
  20. SECTION:=libs
  21. CATEGORY:=Libraries
  22. TITLE:=set of tools to centralize translation using GNU gettext
  23. URL:=http://www.freedesktop.org/wiki/Software/intltool
  24. BUILDONLY:=1
  25. endef
  26. define Package/intltool/description
  27. intltool is a set of tools to centralize translation of many different
  28. file formats using GNU gettext-compatible PO files.
  29. endef
  30. define Require/perl-xml-parser
  31. perl -e 'use XML::Parser;'
  32. endef
  33. $(eval $(call Require,perl-xml-parser, \
  34. Please install Perl XML::Parser \
  35. ))
  36. $(eval $(call BuildPackage,intltool))
  37. $(eval $(call HostBuild))