Mercurial > mxe-octave
comparison src/libvpx.mk @ 1257:afabf3a51818
new packages: faac, faad2, ffmpeg, lame, libvpx, opencore-amr, x264
author | Di Appoggio <diappoggio@gmail.com> |
---|---|
date | Mon, 20 Sep 2010 22:04:43 +1000 |
parents | |
children | f496cd5041bd |
comparison
equal
deleted
inserted
replaced
1256:b6d98b5e72f6 | 1257:afabf3a51818 |
---|---|
1 # This file is part of mingw-cross-env. | |
2 # See doc/index.html for further information. | |
3 | |
4 # vpx | |
5 PKG := libvpx | |
6 $(PKG)_IGNORE := | |
7 $(PKG)_VERSION := 0.9.1 | |
8 $(PKG)_CHECKSUM := a18acb7a1a2fd62268e63aab860b43ff04669b9e | |
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 | |
11 $(PKG)_WEBSITE := http://code.google.com/p/webm/ | |
12 $(PKG)_URL := http://webm.googlecode.com/files/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := gcc | |
14 | |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://code.google.com/p/webm/downloads/list?sort=-uploaded' | \ | |
17 $(SED) -n 's,.*libvpx-\([0-9][^<]*\)\.tar.*,\1,p' | \ | |
18 head -1 | |
19 endef | |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && \ | |
23 NM="i686-pc-mingw32-nm" \ | |
24 STRIP="i686-pc-mingw32-strip" \ | |
25 CC="i686-pc-mingw32-gcc" \ | |
26 ./configure \ | |
27 --prefix='$(PREFIX)/$(TARGET)' \ | |
28 --target=x86-win32-gcc \ | |
29 --disable-examples | |
30 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
31 $(MAKE) -C '$(1)' -j 1 install | |
32 $(TARGET)-ranlib $(PREFIX)/$(TARGET)/lib/libvpx.a | |
33 endef |