[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
This commit is contained in:
parent
dd689ede99
commit
e0e4dafe07
38
Xorg/xorg/data/xkeyboard-config/Makefile
Normal file
38
Xorg/xorg/data/xkeyboard-config/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
#
|
||||
# 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))
|
@ -74,9 +74,13 @@ endef
|
||||
|
||||
define Package/libX11/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(INSTALL_DIR) $(1)/usr/share/X11
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/*.so* \
|
||||
$(1)/usr/lib/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/share/X11/* \
|
||||
$(1)/usr/share/X11
|
||||
endef
|
||||
|
||||
$(eval $(call Feature,libX11))
|
||||
|
Loading…
x
Reference in New Issue
Block a user