Mercurial > mxe-octave
view src/openal.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | 5ab457504494 |
children | d862fd40cc42 |
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 := 018a9cd414db6b2ba5924261a59f34e8ce7b603a $(PKG)_SUBDIR := openal-soft-$($(PKG)_VERSION) $(PKG)_FILE := openal-soft-$($(PKG)_VERSION).tar.gz $(PKG)_URL := https://github.com/kcat/openal-soft/archive/$($(PKG)_FILE) $(PKG)_DEPS := portaudio define $(PKG)_UPDATE $(WGET) -q -O- 'https://github.com/kcat/openal-soft/tags' | \ $(SED) -n 's|.*releases/tag/openal-soft-\([^"]*\).*|\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