Mercurial > mxe-octave
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/mesa-proto.mk Thu Oct 19 08:56:52 2017 -0400 @@ -0,0 +1,27 @@ +# 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