view src/mesa-proto.mk @ 4686:63a6009ad3df

fix host -config script path when building dist file * binary-dist-rules.mk: for each usr/xxxx-config file, modify any build host paths to /usr paths
author John Donoghue
date Wed, 25 Apr 2018 08:26:25 -0400
parents e575e2afdae4
children a99cf8dbe52d
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
  endef
else
  define $(PKG)_BUILD
  endef
endif