annotate src/build-yasm.mk @ 4474:c7285e784532

avoid using version and checksum information from other packages (Bug #52073) * src/build-yasm.mk, src/gcc-cloog.mk, src/gcc-gmp.mk, src/gcc-isl.mk, src/gcc-mpc.mk, src/gcc-mpfr.mk: set version, checksum, subdir, file and url to direct values.
author John D
date Tue, 19 Sep 2017 01:10:30 -0400
parents e9db4d0c50e5
children d6cc0ad10bde
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
c7285e784532 avoid using version and checksum information from other packages (Bug #52073)
John D
parents: 3507
diff changeset
10 $(PKG)_URL := http://www.tortall.net/projects/$(PKG)/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