Mercurial > mxe-octave
annotate src/build-yasm.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | d6cc0ad10bde |
children |
rev | line source |
---|---|
3507 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := build-yasm | |
4474
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3507
diff
changeset
|
5 $(PKG)_IGNORE := |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3507
diff
changeset
|
6 $(PKG)_VERSION := 1.3.0 |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3507
diff
changeset
|
7 $(PKG)_CHECKSUM := b7574e9f0826bedef975d64d3825f75fbaeef55e |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3507
diff
changeset
|
8 $(PKG)_SUBDIR := yasm-$($(PKG)_VERSION) |
c7285e784532
avoid using version and checksum information from other packages (Bug #52073)
John D
parents:
3507
diff
changeset
|
9 $(PKG)_FILE := yasm-$($(PKG)_VERSION).tar.gz |
5037 | 10 $(PKG)_URL := http://www.tortall.net/projects/yasm/releases/$($(PKG)_FILE) |
3507 | 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 |