Mercurial > mxe-octave
view src/openal.mk @ 3721:933b99febcf1
Expand options to support 3 possible sources of octave
* configure.ac: modify --enable-stable rule to --enable-octave=source (stable,alpha,default)
* Makefile.am: modify OCTAVE_TARGET based on octave build value set in configure.
* index.html: added master-octave information.
* src/default-octave.mk: new file.
* src/default-octave-1-docinstall.patch
* dist-files.mk: add default-octave-1-docinstall.patch default-octave.mk
* binary-dist-rules.mk: use OCTAVE_TARGET to decide on tarball/installer name
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 19 Oct 2014 22:58:20 -0400 |
parents | 5e169963644e |
children | 5ab457504494 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := openal $(PKG)_IGNORE := $(PKG)_VERSION := 1.15.1 $(PKG)_CHECKSUM := a0e73a46740c52ccbde38a3912c5b0fd72679ec8 $(PKG)_SUBDIR := openal-soft-$($(PKG)_VERSION) $(PKG)_FILE := openal-soft-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://kcat.strangesoft.net/openal-releases/$($(PKG)_FILE) $(PKG)_DEPS := portaudio define $(PKG)_UPDATE $(WGET) -q -O- 'http://kcat.strangesoft.net/openal-releases/?C=M;O=D' | \ $(SED) -n 's,.*"openal-soft-\([0-9][^"]*\)\.tar.*,\1,p' | \ $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD cd '$(1)/build' && cmake .. \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ -DEXAMPLES=FALSE $(MAKE) -C '$(1)/build' -j '$(JOBS)' install '$(MXE_CC)' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(1)/test-openal.exe' \ `'$(MXE_PKG_CONFIG)' openal --cflags --libs` endef