Mercurial > mxe-octave
annotate src/theora.mk @ 2153:e4c83fa61a5b
replaced $(BUILD) with a more direct and less brittle construct
For discussion, see the following email and its follow-ups:
http://lists.nongnu.org/archive/html/mingw-cross-env-list/2011-11/msg00112.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 28 Nov 2011 09:51:56 +0100 |
parents | b005b9cf8998 |
children | f653602a0500 |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
453
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. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
340
diff
changeset
|
3 |
339
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 # Theora |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 PKG := theora |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
439
diff
changeset
|
6 $(PKG)_IGNORE := |
453
7867a970c9b4
update version of packages libxml2, libxslt, pixman and theora
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
7 $(PKG)_VERSION := 1.1.1 |
7867a970c9b4
update version of packages libxml2, libxslt, pixman and theora
Volker Grabsch <vog@notjusthosting.com>
parents:
448
diff
changeset
|
8 $(PKG)_CHECKSUM := 0b91be522746a29351a5ee592fd8160940059303 |
339
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := libtheora-$($(PKG)_VERSION) |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
10 $(PKG)_FILE := libtheora-$($(PKG)_VERSION).tar.gz |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
11 $(PKG)_WEBSITE := http://theora.org/ |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 $(PKG)_URL := http://downloads.xiph.org/releases/theora/$($(PKG)_FILE) |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 $(PKG)_DEPS := gcc ogg vorbis |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 define $(PKG)_UPDATE |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 wget -q -O- 'http://www.xiph.org/downloads/' | \ |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 $(SED) -n 's,.*libtheora-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 head -1 |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 endef |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 define $(PKG)_BUILD |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
22 cd '$(1)' && ./configure \ |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
23 --host='$(TARGET)' \ |
2153
e4c83fa61a5b
replaced $(BUILD) with a more direct and less brittle construct
Volker Grabsch <vog@notjusthosting.com>
parents:
2148
diff
changeset
|
24 --build="`config.guess`" \ |
339
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --disable-shared \ |
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 --prefix='$(PREFIX)/$(TARGET)' |
439
9a32996c1724
bugfix: don't build docs of package theora
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
27 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= doc_DATA= |
339
1a88c56bb93b
new package: theora (by Martin Gerhardy)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 endef |