Mercurial > mxe-octave
view src/vorbis.mk @ 4803:e2349691d6ae
fix fontconfig dependencies
Only include fontconfig as a dependency if USE_SYSTEM_FONTCONFIG is no.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 17 Aug 2018 14:09:31 -0400 |
parents | 6cfa1fbe8d2f |
children | 13d5b82424f7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := vorbis $(PKG)_IGNORE := $(PKG)_VERSION := 1.3.6 $(PKG)_CHECKSUM := 91f140c220d1fe3376d637dc5f3d046263784b1f $(PKG)_SUBDIR := libvorbis-$($(PKG)_VERSION) $(PKG)_FILE := libvorbis-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://downloads.xiph.org/releases/vorbis/$($(PKG)_FILE) $(PKG)_DEPS := ogg define $(PKG)_UPDATE $(WGET) -q -O- 'http://www.xiph.org/downloads/' | \ $(SED) -n 's,.*libvorbis-\([0-9][^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ PKG_CONFIG='$(MXE_PKG_CONFIG)' $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= endef