Mercurial > mxe-octave
changeset 4492:4c0606a85383
glu: New module.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 06 Oct 2017 08:27:03 -0400 |
parents | 7bf3a5b0f0fa |
children | f3de384cf0dd |
files | index.html src/glu.mk |
diffstat | 2 files changed, 35 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/index.html Thu Oct 05 14:24:29 2017 -0400 +++ b/index.html Fri Oct 06 08:27:03 2017 -0400 @@ -1274,14 +1274,14 @@ <td class="website"><a href="http://sourceforge.net/projects/libungif/">giflib</a></td> </tr> <tr> + <td class="package">gl2ps</td> + <td class="website"><a href="http://www.geuz.org/gl2ps/">GL2PS</a></td> + </tr> + <tr> <td class="package">glew</td> <td class="website"><a href="http://glew.sourceforge.net/">GLEW</a></td> </tr> <tr> - <td class="package">gl2ps</td> - <td class="website"><a href="http://www.geuz.org/gl2ps/">GL2PS</a></td> - </tr> - <tr> <td class="package">glib</td> <td class="website"><a href="http://www.gtk.org/">GLib</a></td> </tr> @@ -1298,6 +1298,10 @@ <td class="website"><a href="http//xorg.freedesktop.org/">glproto</a></td> </tr> <tr> + <td class="package">glu</td> + <td class="website"><a href="http://www.mesa3d.org/osmesa.html">GLU</a></td> + </tr> + <tr> <td class="package">gmp</td> <td class="website"><a href="http://www.gmplib.org/">GMP</a></td> </tr>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/glu.mk Fri Oct 06 08:27:03 2017 -0400 @@ -0,0 +1,27 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := glu +$(PKG)_IGNORE := +$(PKG)_VERSION := 9.0.0 +$(PKG)_CHECKSUM := c2814bbaf1e60e28a75ec80f4646047c0da742bd +$(PKG)_SUBDIR := glu-$($(PKG)_VERSION) +$(PKG)_FILE := glu-$($(PKG)_VERSION).tar.bz2 +$(PKG)_URL := ftp://ftp.freedesktop.org/pub/mesa/glu/$($(PKG)_FILE) +$(PKG)_DEPS := mesa + +ifeq ($(MXE_WINDOWS_BUILD),yes) + define $(PKG)_BUILD + endef +else + define $(PKG)_BUILD + mkdir '$(1)/.build' + cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ + $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ + $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ + --prefix='$(HOST_PREFIX)' \ + && $(CONFIGURE_POST_HOOK) + + $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' + endef +endif