Mercurial > mxe-octave
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 |
rev | line source |
---|---|
3507 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
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 | 11 $(PKG)_DEPS := |
12 | |
13 define $(PKG)_UPDATE | |
14 echo $(yasm_VERSION) | |
15 endef | |
16 | |
17 define $(PKG)_BUILD | |
18 mkdir '$(1).build' | |
19 cd '$(1).build' && '$(1)/configure' \ | |
20 --prefix='$(BUILD_TOOLS_PREFIX)' \ | |
21 --disable-nls \ | |
22 --disable-python | |
23 $(MAKE) -C '$(1).build' -j '$(JOBS)' | |
24 $(MAKE) -C '$(1).build' -j 1 install DESTDIR='$(3)' | |
25 endef |