Mercurial > mxe-octave
comparison src/mman-win32.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 | |
children |
comparison
equal
deleted
inserted
replaced
3628:a98f4ebb8a3c | 3629:5aba05f2226e |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := mman-win32 | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 3421c28e753c38d24a2e27c111b1c9b4601ebe7d | |
7 $(PKG)_CHECKSUM := c33e84043d49d0e33bc434bda3a16ce60432e789 | |
8 $(PKG)_SUBDIR := mman-win32-master | |
9 $(PKG)_FILE := mman-win32-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := https://github.com/witwall/mman-win32/archive/master.tar.gz | |
11 $(PKG)_DEPS := | |
12 | |
13 define $(PKG)_UPDATE | |
14 echo 'TODO: Updates for package mman-win32 need to be written.' >&2; | |
15 echo $(mman-win32_VERSION) | |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
19 cd '$(1)' && chmod +x configure | |
20 cd '$(1)' && ./configure \ | |
21 --cross-prefix='$(MXE_TOOL_PREFIX)' \ | |
22 --enable-static \ | |
23 --prefix='$(HOST_PREFIX)' \ | |
24 --libdir='$(HOST_LIBDIR)' \ | |
25 --incdir='$(HOST_INCDIR)/sys' | |
26 $(MAKE) -C '$(1)' -j $(JOBS) | |
27 $(MAKE) -C '$(1)' -j 1 install | |
28 | |
29 if [ $(BUILD_SHARED) = yes ]; then \ | |
30 $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(HOST_LIBDIR)/libmman.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \ | |
31 fi | |
32 endef |