diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 21:22:34 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 21:22:34 (GMT) |
commit | d5a02f9f0159073d2075e1295447665125bd4c4c (patch) | |
tree | 9e650affe7a4f3be8ec90cddd4b07387a69916e9 | |
parent | 74f7668188c5144ca1b247cee488ca058d9fe5a4 (diff) | |
download | mxe-d5a02f9f0159073d2075e1295447665125bd4c4c.zip mxe-d5a02f9f0159073d2075e1295447665125bd4c4c.tar.gz mxe-d5a02f9f0159073d2075e1295447665125bd4c4c.tar.bz2 |
translated package: vorbis
-rw-r--r-- | src/vorbis.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/vorbis.mk b/src/vorbis.mk new file mode 100644 index 0000000..28bbdd6 --- /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 |