Mercurial > mxe-octave
annotate src/xxf86vm.mk @ 5504:9f9ed6a325bd
Build SUNDIALS IDA for Linux with KLU (bug #58795).
* src/suitesparse.mk: Create symlinks to libraries without version suffix.
* src/sundials-ida.mk: Unify build rules for all other platforms.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 31 Jul 2020 14:59:35 +0200 |
parents | 58de4f56c797 |
children |
rev | line source |
---|---|
3743 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := xxf86vm | |
5 $(PKG)_IGNORE := | |
4519
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
3743
diff
changeset
|
6 $(PKG)_VERSION := 1.1.4 |
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
3743
diff
changeset
|
7 $(PKG)_CHECKSUM := 78ef18ca2be157131899e01c62679e247409a13f |
3743 | 8 $(PKG)_SUBDIR := libXxf86vm-$($(PKG)_VERSION) |
4519
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
3743
diff
changeset
|
9 $(PKG)_FILE := libXxf86vm-$($(PKG)_VERSION).tar.bz2 |
58de4f56c797
update most X11 packages to latest version and to use tar.bz2 files
John W. Eaton <jwe@octave.org>
parents:
3743
diff
changeset
|
10 $(PKG)_URL := http://www.x.org/archive/individual/lib/$($(PKG)_FILE) |
3743 | 11 $(PKG)_DEPS := xproto x11 xextproto xext xf86vidmodeproto |
12 | |
13 ifeq ($(MXE_WINDOWS_BUILD),yes) | |
14 define $(PKG)_BUILD | |
15 endef | |
16 else | |
17 define $(PKG)_BUILD | |
18 mkdir '$(1)/.build' | |
19 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
22 --prefix='$(HOST_PREFIX)' \ | |
23 && $(CONFIGURE_POST_HOOK) | |
24 | |
25 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' | |
26 endef | |
27 endif |