Mercurial > mxe-octave
view src/libsndfile.mk @ 5425:7ba6499a66d4
Proj requires the sqlite binary, tiff and curl libs
* src/sqlite.mk: install exe
* src/proj.mk: add requirment for curl and tiff
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 22 May 2020 10:09:13 -0400 |
parents | 66cd5a418ecf |
children | ca9fbba3a9bb |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libsndfile $(PKG)_IGNORE := $(PKG)_VERSION := 1.0.28 $(PKG)_CHECKSUM := 85aa967e19f6b9bf975601d79669025e5f8bc77d $(PKG)_SUBDIR := libsndfile-$($(PKG)_VERSION) $(PKG)_FILE := libsndfile-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.mega-nerd.com/libsndfile/files/$($(PKG)_FILE) $(PKG)_DEPS := sqlite flac ogg vorbis define $(PKG)_UPDATE $(WGET) -q -O- 'http://www.mega-nerd.com/libsndfile/' | \ grep '<META NAME="Version"' | \ $(SED) -n 's,.*CONTENT="libsndfile-\([0-9][^"]*\)">.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && autoreconf -fi -IM4 cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ $(CONFIGURE_CPPFLAGS) \ --enable-sqlite \ --enable-external-libs \ --disable-octave \ --disable-alsa $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) endef