florian e0e4dafe07 [package] add xkeyboard-config and install shared libX11 directory correctly
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-31 22:33:35 +00:00

39 lines
850 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_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 Build/Configure
$(call Build/Configure/Default)
endef
define Package/xkeyboard-config/install
$(INSTALL_DIR) $(1)/usr/share/X11/xkb
$(CP) -v $(PKG_INSTALL_DIR)/usr/share/X11/xkb \
$(1)/usr/share/X11/
endef
$(eval $(call BuildPackage,xkeyboard-config))