Mercurial > mxe-octave
annotate src/opus.mk @ 6326:0e81d51f60ca
* src/opus.mk: disable docs
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 20 Jul 2022 09:13:05 -0400 |
parents | 742e80be7212 |
children |
rev | line source |
---|---|
5636 | 1 # This file is part of MXE. See LICENSE.md for licensing information. |
2 | |
3 PKG := opus | |
4 $(PKG)_IGNORE := | |
5 $(PKG)_VERSION := 1.3.1 | |
6 $(PKG)_CHECKSUM := ed226536537861c9f0f1ef7ca79dffc225bc181b | |
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := https://archive.mozilla.org/pub/$(PKG)/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := | |
11 | |
12 define $(PKG)_UPDATE | |
13 $(WGET) -q -O- 'https://archive.mozilla.org/pub/opus/?C=M;O=D' | \ | |
14 $(SED) -n 's,.*opus-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
15 grep -v 'alpha' | \ | |
16 grep -v 'beta' | \ | |
17 grep -v 'rc' | \ | |
18 $(SORT) -Vr | \ | |
19 head -1 | |
20 endef | |
21 | |
22 $(PKG)_EXTRA_CONFIGURE_OPTIONS := | |
23 ifneq ($(filter mingw msvc,$(MXE_SYSTEM)),) | |
24 $(PKG)_EXTRA_CONFIGURE_OPTIONS += CFLAGS="-O2 -g -fstack-protector" | |
25 endif | |
26 | |
27 define $(PKG)_BUILD | |
28 cd '$(1)' && ./configure \ | |
29 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
30 $($(PKG)_EXTRA_CONFIGURE_OPTIONS) \ | |
31 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
32 $(ENABLE_SHARED_OR_STATIC) \ | |
33 --prefix='$(HOST_PREFIX)' \ | |
6326
0e81d51f60ca
* src/opus.mk: disable docs
John Donoghue <john.donoghue@ieee.org>
parents:
5636
diff
changeset
|
34 --disable-doc --disable-extra-programs \ |
5636 | 35 && $(CONFIGURE_POST_HOOK) |
36 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) | |
37 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' | |
38 endef |