# This file is part of MXE.
# See index.html for further information.
PKG := ogg
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.3.2
$(PKG)_CHECKSUM := e19ee34711d7af328cb26287f4137e70630e7261b17cbe3cd41011d73a654692
$(PKG)_SUBDIR := libogg-$($(PKG)_VERSION)
$(PKG)_FILE := libogg-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://downloads.xiph.org/releases/ogg/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.xiph.org/downloads/' | \
$(SED) -n 's,.*libogg-\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef