fix missing x86 dependency to some XOrg makefiles
[openwrt/svn-archive/archive.git] / XOrg / headers / native / Makefile
1 #
2 # Copyright (C) 2007 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
9 include $(TOPDIR)/rules.mk
10
11 PKG_RELEASE:=1
12 PKG_VERSION:=7.1
13 PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/headers/xorg-headers-native-$(PKG_VERSION)/
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/xorg-headers-native
18 SECTION:=xorg-headers
19 CATEGORY:=Xorg
20 SUBMENU:=headers
21 TITLE:=xorg-headers-native
22 URL:=http://xorg.freedesktop.org/
23 DEPENDS:=@TARGET_x86
24 endef
25
26 define Build/Prepare
27 mkdir -p $(PKG_BUILD_DIR)
28 $(CP) ./src/* $(PKG_BUILD_DIR)/
29 find $(PKG_BUILD_DIR)/ -name .svn | xargs rm -rf
30 endef
31
32 define Build/Compile
33 true
34 endef
35
36 define Build/InstallDev
37 cp -r $(PKG_BUILD_DIR)/* $(1)/include/
38 endef
39
40 $(eval $(call BuildPackage,xorg-headers-native))
41