nico 2e84576340 [packages] xkeyboard-config: misc fixes:
* add MD5SUM
 * remove unneeded Build/Configure override
 * fix indent in Package/.../install
 * check for host intltool


git-svn-id: svn://svn.openwrt.org/openwrt/packages@22459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 17:06:20 +00:00

40 lines
929 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:=1
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
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))