blob: 7d6a81110f70e52647faedb1ec3e20ac837c46e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := ogg
$(PKG)_WEBSITE := http://www.xiph.org/ogg/
$(PKG)_DESCR := 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
|