Mercurial > hg > mxe-octave-anirudha
changeset 157:4d3e93dbc408
translated package: vorbis
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 08 Nov 2008 22:22:34 +0100 |
parents | 9ef60927fdeb |
children | 1cfaf9280af6 |
files | src/vorbis.mk |
diffstat | 1 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/src/vorbis.mk @@ -0,0 +1,25 @@ +# Vorbis +# http://www.vorbis.com/ + +PKG := vorbis +$(PKG)_VERSION := 1.2.0 +$(PKG)_SUBDIR := libvorbis-$($(PKG)_VERSION) +$(PKG)_FILE := libvorbis-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://downloads.xiph.org/releases/vorbis/$($(PKG)_FILE) +$(PKG)_DEPS := gcc pthreads ogg + +define $(PKG)_UPDATE + wget -q -O- 'http://www.xiph.org/downloads/' | \ + $(SED) -n 's,.*libvorbis-\([0-9][^>]*\)\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + PKG_CONFIG='$(TARGET)-pkg-config' \ + LIBS='-lws2_32' + $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= +endef