Fix typo in dependencies. xfixesproto -> fixesproto
[openwrt/svn-archive/archive.git] / Xorg / xorg / lib / libXdamage / Makefile
1 #
2 # Copyright (C) 2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=libXdamage
12 PKG_RELEASE:=1
13 PKG_VERSION:=1.1.1
14 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.4/src/lib/
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
17 PKG_FIXUP:=libtool
18 PKG_BUILD_DEPENDS:=xproto xextproto fixesproto
19
20 include $(INCLUDE_DIR)/package.mk
21
22 PKG_INSTALL:=1
23
24 define Package/libXdamage
25 SECTION:=xorg-lib
26 CATEGORY:=Xorg
27 SUBMENU:=lib
28 DEPENDS:=+libX11 +libXfixes
29 TITLE:=libXdamage
30 URL:=http://xorg.freedesktop.org/
31 endef
32
33 define Package/libXdamage/install
34 $(INSTALL_DIR) $(1)/usr/lib
35 $(INSTALL_DATA) \
36 $(PKG_INSTALL_DIR)/usr/lib/*.so* \
37 $(1)/usr/lib/
38 endef
39
40 define Build/InstallDev
41 $(INSTALL_DIR) $(1)
42 $(CP) $(PKG_INSTALL_DIR)/* $(1)/
43 endef
44
45 $(eval $(call BuildPackage,libXdamage))