summaryrefslogtreecommitdiffstats
path: root/src/ogg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/ogg.mk')
-rw-r--r--src/ogg.mk12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ogg.mk b/src/ogg.mk
index a3cb49b..b39e218 100644
--- a/src/ogg.mk
+++ b/src/ogg.mk
@@ -1,14 +1,11 @@
-# This file is part of mingw-cross-env.
-# See doc/index.html for further information.
+# This file is part of MXE.
+# See index.html for further information.
-# OGG
PKG := ogg
$(PKG)_IGNORE :=
-$(PKG)_VERSION := 1.2.2
-$(PKG)_CHECKSUM := deeb1959f84de9277e74bca17ec66fa20ced9f08
+$(PKG)_CHECKSUM := a900af21b6d7db1c7aa74eb0c39589ed9db991b8
$(PKG)_SUBDIR := libogg-$($(PKG)_VERSION)
$(PKG)_FILE := libogg-$($(PKG)_VERSION).tar.gz
-$(PKG)_WEBSITE := http://www.xiph.org/ogg/
$(PKG)_URL := http://downloads.xiph.org/releases/ogg/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
@@ -19,10 +16,9 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- # wine confuses the cross-compiling detection, so set it explicitly
- $(SED) -i 's,cross_compiling=no,cross_compiling=yes,' '$(1)/configure'
cd '$(1)' && ./configure \
--host='$(TARGET)' \
+ --build="`config.guess`" \
--disable-shared \
--prefix='$(PREFIX)/$(TARGET)'
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=