Mercurial > mxe-octave
view src/mxml.mk @ 3629:5aba05f2226e
update xine-lib, add mman-win32
* dist-files.mk: add mman-win32-1-include_name_change.patch, mman-win32.mk, add xine-lib-*.patch files.
* index.html: add mman-win32
* src/mman-win32-1-include_name_change.patch: new file.
* src/mman-win32.mk: new file.
* src/xine-lib-1-configure_ac.patch: new file
* src/xine-lib-1-fixes.patch: removed
* src/xine-lib-2-build_fixes.patch: new file.
* src/xine-lib-3-more_build_fixes.patch: new file
* src/xine-lib-4-mkdir.patch: new file.
* src/xine-lib-5-change_mma_h_to_mma_win32_h.patch: new file
* src/xine-lib.mk: update version
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 29 Jun 2014 15:46:35 -0400 |
parents | ae4193aad5fe |
children | d95b8b84cea7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := mxml $(PKG)_IGNORE := $(PKG)_VERSION := 2.7 $(PKG)_CHECKSUM := a3bdcab48307794c297e790435bcce7becb9edae $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://ftp.easysw.com/pub/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := pthreads define $(PKG)_UPDATE $(WGET) -q -O- 'http://www.msweet.org/downloads.php?L+Z3' | \ $(SED) -n 's,.*<a href="files.*mxml-\([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)' \ --enable-threads $(MAKE) -C '$(1)' -j '$(JOBS)' libmxml.a $(MAKE) -C '$(1)' -j 1 install-libmxml.a $(INSTALL) -d '$(HOST_INCDIR)' $(INSTALL) -m644 '$(1)/mxml.h' '$(HOST_INCDIR)' $(INSTALL) -d '$(HOST_LIBDIR)/pkgconfig' $(INSTALL) -m644 '$(1)/mxml.pc' '$(HOST_LIBDIR)/pkgconfig' '$(MXE_CC)' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(HOST_BINDIR)/test-mxml.exe' \ `'$(MXE_PKG_CONFIG)' mxml --cflags --libs` endef