Mercurial > mxe-octave
annotate src/flac.mk @ 6161:8fcac4d6d983 release
of-queueing: Fix syntax error with Octave 7 (bug #62314).
* src/of-queueing-1-octave7.patch: Add new file.
* dist-files.mk: Include new patch.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 14 Apr 2022 19:27:13 +0200 |
parents | 88dfa92d0c86 |
children | 1bf47a1e03c1 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
513 | 3 |
4 PKG := flac | |
5 $(PKG)_IGNORE := | |
5136 | 6 $(PKG)_VERSION := 1.3.3 |
7 $(PKG)_CHECKSUM := 6ac2e8f1dd18c9b0214c4d81bd70cdc1e943cffe | |
513 | 8 $(PKG)_SUBDIR := flac-$($(PKG)_VERSION) |
3631
f11ee3f8e632
flac: update version
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
9 $(PKG)_FILE := flac-$($(PKG)_VERSION).tar.xz |
f11ee3f8e632
flac: update version
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
10 $(PKG)_URL := http://downloads.xiph.org/releases/flac/$($(PKG)_FILE) |
f11ee3f8e632
flac: update version
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
11 |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
12 $(PKG)_DEPS := libiconv ogg |
513 | 13 |
14 define $(PKG)_UPDATE | |
4384 | 15 $(WGET) -q -O- 'http://downloads.xiph.org/releases/flac/' | \ |
16 grep 'flac-' | \ | |
17 $(SED) -n 's,.*flac-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
18 tail -1 | |
513 | 19 endef |
20 | |
21 define $(PKG)_BUILD | |
5962
88dfa92d0c86
Add patches for building packages with UCRT.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5436
diff
changeset
|
22 cd '$(1)' && autoreconf -fi && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
5962
88dfa92d0c86
Add patches for building packages with UCRT.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5436
diff
changeset
|
25 $(CONFIGURE_LDFLAGS) $(CONFIGURE_CPPFLAGS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
26 --prefix='$(HOST_PREFIX)' \ |
513 | 27 --disable-doxygen-docs \ |
28 --disable-xmms-plugin \ | |
29 --enable-cpplibs \ | |
30 --enable-ogg \ | |
31 --disable-oggtest | |
5436
9b7ed61c1990
* src/flac.mk: add configure options, verbose output
John Donoghue <john.donoghue@ieee.org>
parents:
5136
diff
changeset
|
32 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) VERBOSE=1 |
9b7ed61c1990
* src/flac.mk: add configure options, verbose output
John Donoghue <john.donoghue@ieee.org>
parents:
5136
diff
changeset
|
33 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' |
513 | 34 endef |