make XOrg depend on DISPLAY_SUPPORT instead of TARGET_x86, see [9448]
[openwrt/svn-archive/archive.git] / XOrg / proto / xineramaproto / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # blogic@openwrt.org
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=xineramaproto
11 PKG_RELEASE:=1
12 PKG_VERSION:=X11R7.0-1.1.2
13 PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.2/src/proto/
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
15 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/xineramaproto
20 SECTION:=xorg-proto
21 CATEGORY:=Xorg
22 SUBMENU:=proto
23 DEPENDS:= @DISPLAY_SUPPORT
24 TITLE:=xineramaproto
25 URL:=http://xorg.freedesktop.org/
26 endef
27
28 define Build/InstallDev
29 DESTDIR=$(1) $(MAKE) -C $(PKG_BUILD_DIR)/ $(MAKE_FLAGS) install
30 endef
31
32 define Build/Compile
33 true
34 endef
35
36 $(eval $(call BuildPackage,xineramaproto))