annotate src/mesa-proto.mk @ 4516:e575e2afdae4

mesa-proto: new package
author John W. Eaton <jwe@octave.org>
date Thu, 19 Oct 2017 08:56:52 -0400
parents
children a99cf8dbe52d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4516
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE Octave.
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := mesa-proto
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_VERSION = $(mesa_VERSION)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_CHECKSUM = $(mesa_CHECKSUM)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_SUBDIR = $(mesa_SUBDIR)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_FILE = $(mesa_FILE)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_URL = $(mesa_URL)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_DEPS :=
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo $($(PKG)_VERSION)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 ifeq ($(USE_SYSTEM_OPENGL),no)
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 define $(PKG)_BUILD
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 $(INSTALL) -d '$(3)$(HOST_INCDIR)/GL';
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 for f in '$(1)/include/GL/*.h' ; do \
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/GL'; \
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 done
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 endef
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 else
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 define $(PKG)_BUILD
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 endef
e575e2afdae4 mesa-proto: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 endif