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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # FLAC
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := flac
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 1.2.1
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := bd54354900181b59db3089347cc84ad81e410b38
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := flac-$($(PKG)_VERSION)
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := flac-$($(PKG)_VERSION).tar.gz
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://www.xiph.org/ogg/
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/flac/flac-src/flac-$($(PKG)_VERSION)-src/$($(PKG)_FILE)
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc libiconv ogg
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://flac.cvs.sourceforge.net/viewvc/flac/flac/' | \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '<option>FLAC_RELEASE_' | \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*FLAC_RELEASE_\([0-9][0-9_]*\)__.*,\1,p' | \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 $(SED) 's,_,.,g' | \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 head -1
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 endef
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 define $(PKG)_BUILD
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 cd '$(1)' && ./configure \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --host='$(TARGET)' \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-shared \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --prefix='$(PREFIX)/$(TARGET)' \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-doxygen-docs \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --disable-xmms-plugin \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --enable-cpplibs \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --enable-ogg \
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --disable-oggtest
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
c5d1f0ee0f0b new package: flac
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 endef