Mercurial > mxe-octave
annotate src/flac.mk @ 714:29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 08 Feb 2010 00:58:06 +0100 |
parents | dab071eac9c0 |
children | f653602a0500 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
513
diff
changeset
|
1 # This file is part of mingw-cross-env. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
2 # See doc/index.html for further information. |
513 | 3 |
4 # FLAC | |
5 PKG := flac | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 1.2.1 | |
8 $(PKG)_CHECKSUM := bd54354900181b59db3089347cc84ad81e410b38 | |
9 $(PKG)_SUBDIR := flac-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := flac-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://www.xiph.org/ogg/ | |
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/flac/flac-src/flac-$($(PKG)_VERSION)-src/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := gcc libiconv ogg | |
14 | |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://flac.cvs.sourceforge.net/viewvc/flac/flac/' | \ | |
17 grep '<option>FLAC_RELEASE_' | \ | |
18 $(SED) -n 's,.*FLAC_RELEASE_\([0-9][0-9_]*\)__.*,\1,p' | \ | |
19 $(SED) 's,_,.,g' | \ | |
20 head -1 | |
21 endef | |
22 | |
23 define $(PKG)_BUILD | |
24 cd '$(1)' && ./configure \ | |
25 --host='$(TARGET)' \ | |
26 --disable-shared \ | |
27 --prefix='$(PREFIX)/$(TARGET)' \ | |
28 --disable-doxygen-docs \ | |
29 --disable-xmms-plugin \ | |
30 --enable-cpplibs \ | |
31 --enable-ogg \ | |
32 --disable-oggtest | |
33 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
34 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
35 endef |