Mercurial > mxe-octave
annotate src/flac.mk @ 3631:f11ee3f8e632
flac: update version
* src/flac.mk: update to 1.3.0
* dist-files.mk: removed flac-1-win32.patch flac-2-lwsock32.patch
* src/flac-1-win32.patch: removed
* src/flac-2-lwsock32.patch: removed
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 29 Jun 2014 15:48:00 -0400 |
parents | 13be64f9f16d |
children | ca3fc286da3d |
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 := | |
3631
f11ee3f8e632
flac: update version
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
6 $(PKG)_VERSION := 1.3.0 |
f11ee3f8e632
flac: update version
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
7 $(PKG)_CHECKSUM := a136e5748f8fb1e6c524c75000a765fc63bb7b1b |
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 |