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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3507
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := yasm
3752
9330999df0c2 yasm: update to 1.3.0
John Donoghue
parents: 3507
diff changeset
5 $(PKG)_VERSION := 1.3.0
9330999df0c2 yasm: update to 1.3.0
John Donoghue
parents: 3507
diff changeset
6 $(PKG)_CHECKSUM := b7574e9f0826bedef975d64d3825f75fbaeef55e
3507
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_URL := http://www.tortall.net/projects/$(PKG)/releases/$($(PKG)_FILE)
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 $(PKG)_DEPS :=
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
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
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 endef
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 define $(PKG)_BUILD
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17 # yasm is always static
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 cd '$(1)' && '$(1)/configure' \
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20 --prefix='$(HOST_PREFIX)' \
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 --disable-nls
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 $(MAKE) -C '$(1)' -j '$(JOBS)'
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 $(MAKE) -C '$(1)' -j 1 install
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 endef