view src/mesa-proto.mk @ 7186:19a46de50b18 default tip @

* src/jasper.mk: update to v4.2.4
author John Donoghue <john.donoghue@ieee.org>
date Thu, 02 May 2024 09:22:30 -0400
parents a99cf8dbe52d
children
line wrap: on
line source

# This file is part of MXE Octave.
# See index.html for further information.

PKG             := mesa-proto
$(PKG)_VERSION  = $(mesa_VERSION)
$(PKG)_CHECKSUM = $(mesa_CHECKSUM)
$(PKG)_SUBDIR   = $(mesa_SUBDIR)
$(PKG)_FILE     = $(mesa_FILE)
$(PKG)_URL      = $(mesa_URL)
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
endef

ifeq ($(USE_SYSTEM_OPENGL),no)
  define $(PKG)_BUILD
    $(INSTALL) -d '$(3)$(HOST_INCDIR)/GL';
    for f in '$(1)/include/GL/*.h' ; do \
      $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/GL'; \
    done
    $(INSTALL) -d '$(3)$(HOST_INCDIR)/KHR';
    for f in '$(1)/include/KHR/*.h' ; do \
      $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/KHR'; \
    done
  endef
else
  define $(PKG)_BUILD
  endef
endif