Mercurial > mxe-octave
view src/libvpx.mk @ 3721:933b99febcf1
Expand options to support 3 possible sources of octave
* configure.ac: modify --enable-stable rule to --enable-octave=source (stable,alpha,default)
* Makefile.am: modify OCTAVE_TARGET based on octave build value set in configure.
* index.html: added master-octave information.
* src/default-octave.mk: new file.
* src/default-octave-1-docinstall.patch
* dist-files.mk: add default-octave-1-docinstall.patch default-octave.mk
* binary-dist-rules.mk: use OCTAVE_TARGET to decide on tarball/installer name
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 19 Oct 2014 22:58:20 -0400 |
parents | 6426e08a5618 |
children | 8114d05101dc |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libvpx $(PKG)_IGNORE := $(PKG)_VERSION := 1.1.0 $(PKG)_CHECKSUM := 356af5f770c50cd021c60863203d8f30164f6021 $(PKG)_SUBDIR := $(PKG)-v$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-v$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://webm.googlecode.com/files/$($(PKG)_FILE) $(PKG)_DEPS := pthreads define $(PKG)_UPDATE $(WGET) -q -O- 'http://code.google.com/p/webm/downloads/list?sort=-uploaded' | \ $(SED) -n 's,.*libvpx-v\([0-9][^<]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && \ CROSS='$(MXE_TOOL_PREFIX)' \ ./configure \ --prefix='$(HOST_PREFIX)' \ --target=x86-win32-gcc \ --disable-examples \ --disable-install-docs $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install $(MXE_RANLIB) $(HOST_LIBDIR)/libvpx.a if [ $(BUILD_SHARED) = yes ]; then \ $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(HOST_LIBDIR)/libvpx.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)' -lpthread; \ fi endef