annotate src/libvpx.mk @ 3014:b6c7244a2f66

Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
author John W. Eaton <jwe@octave.org>
date Sun, 02 Jun 2013 16:59:24 -0400
parents 100e618349f7
children 951da75fd09c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2224
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.
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
3
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
4 PKG := libvpx
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
2543
fd3ee2ca91ab update package libvpx
Mark Brand <mabrand@mabrand.nl>
parents: 2525
diff changeset
6 $(PKG)_CHECKSUM := 356af5f770c50cd021c60863203d8f30164f6021
1447
8d43a215ea43 upgrade packages: atkmm gdal gdk-pixbuf glew glib gtk imagemagick lapack librsvg libvpx libxml2 ogg pixman vorbis x264
Volker Grabsch <vog@notjusthosting.com>
parents: 1334
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-v$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1447
diff changeset
8 $(PKG)_FILE := $(PKG)-v$($(PKG)_VERSION).tar.bz2
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
9 $(PKG)_URL := http://webm.googlecode.com/files/$($(PKG)_FILE)
2558
a4075e7698e7 package libvpx: add missing pthreads DEP
Mark Brand <mabrand@mabrand.nl>
parents: 2543
diff changeset
10 $(PKG)_DEPS := gcc pthreads
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
11
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
13 $(WGET) -q -O- 'http://code.google.com/p/webm/downloads/list?sort=-uploaded' | \
1269
a74be54ab8a3 misc fixes for libvpx and x264
Tony Theodore <tonyt@logyst.com>
parents: 1261
diff changeset
14 $(SED) -n 's,.*libvpx-v\([0-9][^<]*\)\.tar.*,\1,p' | \
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
15 head -1
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
16 endef
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
17
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
18 define $(PKG)_BUILD
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
19 cd '$(1)' && \
1261
050f5ff03b26 improve coding style of ffmpeg and dependencies
Tony Theodore <tonyt@logyst.com>
parents: 1260
diff changeset
20 CROSS='$(TARGET)-' \
050f5ff03b26 improve coding style of ffmpeg and dependencies
Tony Theodore <tonyt@logyst.com>
parents: 1260
diff changeset
21 ./configure \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2558
diff changeset
22 --prefix='$(HOST_PREFIX)' \
1261
050f5ff03b26 improve coding style of ffmpeg and dependencies
Tony Theodore <tonyt@logyst.com>
parents: 1260
diff changeset
23 --target=x86-win32-gcc \
1334
5aa60cef7fd6 bugfix: don't build the docs of package libvpx
Volker Grabsch <vog@notjusthosting.com>
parents: 1275
diff changeset
24 --disable-examples \
5aa60cef7fd6 bugfix: don't build the docs of package libvpx
Volker Grabsch <vog@notjusthosting.com>
parents: 1275
diff changeset
25 --disable-install-docs
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)'
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
27 $(MAKE) -C '$(1)' -j 1 install
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
28 $(TARGET)-ranlib $(HOST_LIBDIR)/libvpx.a
1257
afabf3a51818 new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
Di Appoggio <diappoggio@gmail.com>
parents:
diff changeset
29 endef