eb8371b0f29341704184c71ecf03eb2a8f97a539
[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 endef
24
25 define Build/Prepare
26 mkdir -p $(PKG_BUILD_DIR)
27 $(CP) ./src/* $(PKG_BUILD_DIR)/
28 find $(PKG_BUILD_DIR)/ -name .svn | xargs rm -rf
29 endef
30
31 define Build/Compile
32 true
33 endef
34
35 define Build/InstallDev
36 cp -r $(PKG_BUILD_DIR)/* $(1)/include/
37 endef
38
39 $(eval $(call BuildPackage,xorg-headers-native))
40