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
|
2016-12-18 05:43:56 +00:00
|
|
|
$(PKG)_WEBSITE := http://www.vorbis.com/
|
|
|
|
$(PKG)_DESCR := Vorbis
|
2009-09-20 13:36:46 +01:00
|
|
|
$(PKG)_IGNORE :=
|
2015-03-05 09:37:00 +00:00
|
|
|
$(PKG)_VERSION := 1.3.5
|
2015-09-23 09:32:58 +01:00
|
|
|
$(PKG)_CHECKSUM := 6efbcecdd3e5dfbf090341b485da9d176eb250d893e3eb378c428a2db38301ce
|
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)
|
2009-09-19 03:46:12 +01:00
|
|
|
$(PKG)_DEPS := gcc 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
|