2016-08-22 20:52:34 +01:00
|
|
|
# This file is part of MXE. See LICENSE.md for licensing information.
|
2008-11-08 21:22:34 +00:00
|
|
|
|
2009-04-05 13:00:17 +01:00
|
|
|
PKG := vorbis
|
2018-07-14 00:02:08 +01:00
|
|
|
$(PKG)_WEBSITE := https://xiph.org/vorbis/
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_DESCR := Vorbis
|
2009-09-20 13:36:46 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2020-07-04 21:16:34 +01:00
|
|
|
$(PKG)_VERSION := 1.3.7
|
|
|
|
$(PKG)_CHECKSUM := 0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab
|
2009-04-05 13:00:17 +01:00
|
|
|
$(PKG)_SUBDIR := libvorbis-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := libvorbis-$($(PKG)_VERSION).tar.gz
|
2017-07-15 02:42:53 +01:00
|
|
|
$(PKG)_URL := https://downloads.xiph.org/releases/vorbis/$($(PKG)_FILE)
|
2017-11-25 13:36:07 +00:00
|
|
|
$(PKG)_DEPS := cc ogg
|
2008-11-08 21:22:34 +00:00
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2017-03-05 03:41:39 +00:00
|
|
|
$(WGET) -q -O- 'https://www.xiph.org/downloads/' | \
|
2008-11-08 21:22:34 +00:00
|
|
|
$(SED) -n 's,.*libvorbis-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
|
|
head -1
|
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
cd '$(1)' && ./configure \
|
2014-02-10 05:33:26 +00:00
|
|
|
$(MXE_CONFIGURE_OPTS) \
|
2010-05-02 16:58:37 +01:00
|
|
|
PKG_CONFIG='$(TARGET)-pkg-config'
|
2008-11-08 21:22:34 +00:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
|
|
|
endef
|