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
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 := 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
d6cc0ad10bde * src/build-yasm.mk: fix download link
John Donoghue
parents: 4474
diff changeset
10 $(PKG)_URL := http://www.tortall.net/projects/yasm/releases/$($(PKG)_FILE)
3507
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_DEPS :=
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 define $(PKG)_UPDATE
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 echo $(yasm_VERSION)
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 endef
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17 define $(PKG)_BUILD
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 mkdir '$(1).build'
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 cd '$(1).build' && '$(1)/configure' \
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20 --prefix='$(BUILD_TOOLS_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 --disable-python
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 $(MAKE) -C '$(1).build' -j '$(JOBS)'
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)'
e9db4d0c50e5 Add yasm package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
25 endef