Mercurial > mxe-octave
view src/openal.mk @ 4128:253ac032547a
Fix more problems with libmng recipe (bug #47712).
* src/libmng.mk: Remove unnecessary mkdir command in recipe. Call autoreconf
with --force option because the libmng archive file ships with an out-of-date
ltmain.sh which will not be replaced without --force.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 20 Apr 2016 15:39:48 -0700 |
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