Mercurial > mxe-octave
annotate src/mman-win32.mk @ 3988:5b8ff612595a
of-nan: update to v2.8.1
* src/of-nan.mk: update version, checksum
* src/build_packages.m: update nan version
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 07 Jul 2015 20:16:48 -0400 |
parents | 5aba05f2226e |
children |
rev | line source |
---|---|
3629
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
4 PKG := mman-win32 |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
6 $(PKG)_VERSION := 3421c28e753c38d24a2e27c111b1c9b4601ebe7d |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := c33e84043d49d0e33bc434bda3a16ce60432e789 |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := mman-win32-master |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := mman-win32-$($(PKG)_VERSION).tar.gz |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
10 $(PKG)_URL := https://github.com/witwall/mman-win32/archive/master.tar.gz |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 $(PKG)_DEPS := |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
12 |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
14 echo 'TODO: Updates for package mman-win32 need to be written.' >&2; |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
15 echo $(mman-win32_VERSION) |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
16 endef |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
17 |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
18 define $(PKG)_BUILD |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 cd '$(1)' && chmod +x configure |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 cd '$(1)' && ./configure \ |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 --cross-prefix='$(MXE_TOOL_PREFIX)' \ |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 --enable-static \ |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
23 --prefix='$(HOST_PREFIX)' \ |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
24 --libdir='$(HOST_LIBDIR)' \ |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
25 --incdir='$(HOST_INCDIR)/sys' |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
26 $(MAKE) -C '$(1)' -j $(JOBS) |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
27 $(MAKE) -C '$(1)' -j 1 install |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
28 |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
29 if [ $(BUILD_SHARED) = yes ]; then \ |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
30 $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(HOST_LIBDIR)/libmman.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \ |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
31 fi |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
32 endef |