annotate src/yasm.mk @ 5893:53a6c7df43f8

Mesa 3D: Update to version 21.1.8. * src/mesa.mk: Update version and checksum. * src/mesa-2-uninitialized.patch: Remove file. * dist-files.mk: Remove file from list.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 16 Sep 2021 22:37:45 +0200
parents 9330999df0c2
children 4b8764444acb
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
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 $(WGET) -q -O- 'https://github.com/yasm/yasm/tags' | \
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 $(SED) -n 's,.*href="/yasm/yasm/archive/v\([0-9][^"]*\)\.tar.*,\1,p' | \
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 head -1
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 endef
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 define $(PKG)_BUILD
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 # yasm is always static
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20 cd '$(1)' && '$(1)/configure' \
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 --prefix='$(HOST_PREFIX)' \
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 --disable-nls
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 $(MAKE) -C '$(1)' -j '$(JOBS)'
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j 1 install
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
26 endef