Mercurial > mxe-octave
comparison src/build-yasm.mk @ 3507:e9db4d0c50e5
Add yasm package
* index.hml: add yasm, build-yasm.
* src/build-yasm.mk: new file.
* src/yasm.mk: New file.
* dist-files.mk: added build-yasm.mk, yasm.mk.
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 06 Feb 2014 21:21:15 -0500 |
parents | |
children | c7285e784532 |
comparison
equal
deleted
inserted
replaced
3506:0d7d2ee30e1a | 3507:e9db4d0c50e5 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := build-yasm | |
5 $(PKG)_IGNORE = $(yasm_IGNORE) | |
6 $(PKG)_VERSION := $(yasm_VERSION) | |
7 $(PKG)_CHECKSUM = $(yasm_CHECKSUM) | |
8 $(PKG)_SUBDIR = $(yasm_SUBDIR) | |
9 $(PKG)_FILE = $(yasm_FILE) | |
10 $(PKG)_URL = $(yasm_URL) | |
11 $(PKG)_DEPS := | |
12 | |
13 define $(PKG)_UPDATE | |
14 echo $(yasm_VERSION) | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
18 mkdir '$(1).build' | |
19 cd '$(1).build' && '$(1)/configure' \ | |
20 --prefix='$(BUILD_TOOLS_PREFIX)' \ | |
21 --disable-nls \ | |
22 --disable-python | |
23 $(MAKE) -C '$(1).build' -j '$(JOBS)' | |
24 $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)' | |
25 endef |