Mercurial > mxe-octave
annotate src/flac.mk @ 3578:583d3bf548e6
texinfo: update to 5.2 and install all tools
* src/texinfo.mk: update to 5.2 and make/make install all.
* src/texinfo-1-fixes.patch: updated patch for 5.2.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 15 Apr 2014 21:32:17 -0400 |
parents | 13be64f9f16d |
children | f11ee3f8e632 |
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 := | |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 1.2.1 |
513 | 7 $(PKG)_CHECKSUM := bd54354900181b59db3089347cc84ad81e410b38 |
8 $(PKG)_SUBDIR := flac-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := flac-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/flac/flac-src/flac-$($(PKG)_VERSION)-src/$($(PKG)_FILE) | |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
11 $(PKG)_DEPS := libiconv ogg |
513 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://flac.cvs.sourceforge.net/viewvc/flac/flac/' | \ |
513 | 15 grep '<option>FLAC_RELEASE_' | \ |
16 $(SED) -n 's,.*FLAC_RELEASE_\([0-9][0-9_]*\)__.*,\1,p' | \ | |
17 $(SED) 's,_,.,g' | \ | |
18 head -1 | |
19 endef | |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && ./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) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
25 --prefix='$(HOST_PREFIX)' \ |
513 | 26 --disable-doxygen-docs \ |
27 --disable-xmms-plugin \ | |
28 --enable-cpplibs \ | |
29 --enable-ogg \ | |
30 --disable-oggtest | |
31 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
32 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
33 endef |