Mercurial > mxe-octave
annotate src/yasm.mk @ 7207:9ed6500e56d3 default tip @
maint: Merge release to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 17 May 2024 20:16:41 +0200 |
parents | 4b8764444acb |
children |
rev | line source |
---|---|
3507 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := yasm | |
3752 | 5 $(PKG)_VERSION := 1.3.0 |
6 $(PKG)_CHECKSUM := b7574e9f0826bedef975d64d3825f75fbaeef55e | |
3507 | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://www.tortall.net/projects/$(PKG)/releases/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := | |
11 | |
12 define $(PKG)_UPDATE | |
6510
4b8764444acb
Create common github call define and start using it
John Donoghue <john.donoghue@ieee.org>
parents:
3752
diff
changeset
|
13 $(call GITHUB_PKG_UPDATE,yasm,yasm,v) |
3507 | 14 endef |
15 | |
16 define $(PKG)_BUILD | |
17 # yasm is always static | |
18 cd '$(1)' && '$(1)/configure' \ | |
19 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
20 --prefix='$(HOST_PREFIX)' \ | |
21 --disable-nls | |
22 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
23 $(MAKE) -C '$(1)' -j 1 install | |
24 endef |