mb d43d324d0c xkeyboard-config: Add missing dependency to xkbcomp
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 09:52:01 +00:00

41 lines
949 B
Makefile

#
# Copyright (C) 2008-2010 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:=xkeyboard-config
PKG_VERSION:=1.7
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://xlibs.freedesktop.org/xkbdesc/
PKG_MD5SUM:=d351c0109fac166edcedad32d1b0e38e
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/xkeyboard-config
SECTION:=xorg-data
CATEGORY:=Xorg
SUBMENU:=data
TITLE:=xkeyboard-config
DEPENDS:=+xkbcomp
URL:=http://freedesktop.org/wiki/Software/XKeyboardConfig
endef
define Package/xkeyboard-config/install
$(INSTALL_DIR) $(1)/usr/share/X11
$(CP) $(PKG_INSTALL_DIR)/usr/share/X11/xkb $(1)/usr/share/X11/
endef
$(eval $(call RequireCommand,intltool-update, \
$(PKG_NAME) requires intltool installed on the host-system. \
))
$(eval $(call BuildPackage,xkeyboard-config))