mxe/src/vorbis.mk

26 lines
878 B
Makefile
Raw Permalink Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2008-11-08 21:22:34 +00:00
PKG := vorbis
2018-07-14 00:02:08 +01:00
$(PKG)_WEBSITE := https://xiph.org/vorbis/
$(PKG)_DESCR := Vorbis
$(PKG)_IGNORE :=
2020-07-04 21:16:34 +01:00
$(PKG)_VERSION := 1.3.7
$(PKG)_CHECKSUM := 0e982409a9c3fc82ee06e08205b1355e5c6aa4c36bca58146ef399621b0ce5ab
$(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)
$(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) \
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