3507
|
1 # This file is part of MXE. |
|
2 # See index.html for further information. |
|
3 |
|
4 PKG := build-yasm |
|
5 $(PKG)_IGNORE = $(yasm_IGNORE) |
|
6 $(PKG)_VERSION := $(yasm_VERSION) |
|
7 $(PKG)_CHECKSUM = $(yasm_CHECKSUM) |
|
8 $(PKG)_SUBDIR = $(yasm_SUBDIR) |
|
9 $(PKG)_FILE = $(yasm_FILE) |
|
10 $(PKG)_URL = $(yasm_URL) |
|
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 |