blob: 9a3ff5429b7e0fb3d3d320638ee8792965352955 (
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 := https://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 := https://downloads.xiph.org/releases/ogg/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://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
|