InstallDev should be using (1) and not (STAGING_DIR)
[openwrt/svn-archive/archive.git] / XOrg / misc / Mesa / 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
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=Mesa
12 PKG_VERSION:=6.5
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)Lib-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=http://downloads.sourceforge.net/mesa3d/
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/Mesa
21 SECTION:=xorg-misc
22 CATEGORY:=Xorg
23 SUBMENU:=misc
24 TITLE:=OpenGL compatible 3-D graphics library
25 endef
26
27 define Build/Configure
28 echo
29 endef
30
31 define Build/Compile
32 echo "currently we only stage the headers in this package :-)"
33 endef
34
35 define Build/InstallDev
36 $(CP) -r $(PKG_BUILD_DIR)/include/* $(1)/usr/include
37 endef
38
39 $(eval $(call BuildPackage,Mesa))