add a new package for intltool (host only) to get rid of another prereq check

git-svn-id: svn://svn.openwrt.org/openwrt/packages@17487 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-09-02 22:39:37 +00:00
parent 3148cfce4e
commit fe2dc3ff9f
5 changed files with 44 additions and 13 deletions

View File

@ -16,6 +16,8 @@ PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/0.17
PKG_MD5SUM:=ec6cb2668db7146eae7cfc48af98f3ed
PKG_FIXUP:=libtool
PKG_BUILD_DEPENDS:=intltool/host
include $(INCLUDE_DIR)/package.mk
-include $(if $(DUMP),,$(STAGING_DIR)/mk/python-package.mk)
@ -103,10 +105,6 @@ define Package/python-vte/install
$(1)$(PYTHON_PKG_DIR)/gtk-2.0
endef
$(eval $(call RequireCommand,intltool-update, \
$(PKG_NAME) requires intltool >= 0.35.0 \
))
$(eval $(call BuildPackage,vte))
$(eval $(call BuildPackage,python-vte))

View File

@ -17,6 +17,8 @@ PKG_MD5SUM:=015b5d2e65d15448fa143513fce03541
PKG_FIXUP:=libtool
PKG_INSTALL:=1
PKG_BUILD_DEPENDS:=intltool/host
include $(INCLUDE_DIR)/package.mk
TARGET_CFLAGS+= \

View File

@ -15,7 +15,7 @@ PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://avahi.org/download/
PKG_MD5SUM:=a83155a6e29e3988f07e5eea3287b21e
PKG_BUILD_DEPENDS:=libexpat libdaemon libgdbm
PKG_BUILD_DEPENDS:=libexpat libdaemon libgdbm intltool/host
PKG_FIXUP = libtool
@ -197,10 +197,6 @@ define Package/avahi-dnsconfd/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/avahi-dnsconfd $(1)/usr/sbin/
endef
$(eval $(call RequireCommand,intltool-update, \
$(PKG_NAME) requires intltool >= 0.35.0 \
))
$(eval $(call BuildPackage,libavahi))
$(eval $(call BuildPackage,avahi-autoipd))
$(eval $(call BuildPackage,avahi-daemon))

View File

@ -9,7 +9,7 @@ PKG_SOURCE:=GConf-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@GNOME/GConf/2.24
PKG_FIXUP:=libtool
PKG_BUILD_DEPENDS:=orbit2/host
PKG_BUILD_DEPENDS:=orbit2/host intltool/host
include $(INCLUDE_DIR)/package.mk
@ -107,8 +107,5 @@ define Package/gconf2/install
$(1)/usr/bin/
endef
$(eval $(call RequireCommand,intltool-update, \
$(PKG_NAME) requires intltool >= 0.35.0 \
))
$(eval $(call BuildPackage,libgconf2))
$(eval $(call BuildPackage,gconf2))

38
libs/intltool/Makefile Normal file
View File

@ -0,0 +1,38 @@
#
# Copyright (C) 2009 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:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@GNOME/intltool/$(PKG_LIBVER)
PKG_MD5SUM:=69bc0353323112f42ad4f9cf351bc3e5
PKG_HOST_ONLY:=1
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))