4516
|
1 # This file is part of MXE Octave. |
|
2 # See index.html for further information. |
|
3 |
|
4 PKG := mesa-proto |
|
5 $(PKG)_VERSION = $(mesa_VERSION) |
|
6 $(PKG)_CHECKSUM = $(mesa_CHECKSUM) |
|
7 $(PKG)_SUBDIR = $(mesa_SUBDIR) |
|
8 $(PKG)_FILE = $(mesa_FILE) |
|
9 $(PKG)_URL = $(mesa_URL) |
|
10 $(PKG)_DEPS := |
|
11 |
|
12 define $(PKG)_UPDATE |
|
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
|
14 echo $($(PKG)_VERSION) |
|
15 endef |
|
16 |
|
17 ifeq ($(USE_SYSTEM_OPENGL),no) |
|
18 define $(PKG)_BUILD |
|
19 $(INSTALL) -d '$(3)$(HOST_INCDIR)/GL'; |
|
20 for f in '$(1)/include/GL/*.h' ; do \ |
|
21 $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/GL'; \ |
|
22 done |
|
23 endef |
|
24 else |
|
25 define $(PKG)_BUILD |
|
26 endef |
|
27 endif |