Mercurial > mxe-octave
annotate src/flac.mk @ 4043:b54e00ea56bc
of-fl-core: readd fl-core patch in dos mode
* src/of-fl-core-1-fixes.patch: readd patch
author | John Donoghue |
---|---|
date | Fri, 02 Oct 2015 10:24:38 -0400 |
parents | ca3fc286da3d |
children | d5a5b8e659de |
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 := | |
3878 | 6 $(PKG)_VERSION := 1.3.1 |
7 $(PKG)_CHECKSUM := 38e17439d11be26207e4af0ff50973815694b26f | |
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 | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
15 $(WGET) -q -O- 'http://flac.cvs.sourceforge.net/viewvc/flac/flac/' | \ |
513 | 16 grep '<option>FLAC_RELEASE_' | \ |
17 $(SED) -n 's,.*FLAC_RELEASE_\([0-9][0-9_]*\)__.*,\1,p' | \ | |
18 $(SED) 's,_,.,g' | \ | |
19 head -1 | |
20 endef | |
21 | |
22 define $(PKG)_BUILD | |
23 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
24 $(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
|
25 $(ENABLE_SHARED_OR_STATIC) \ |
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 | |
32 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
33 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
34 endef |