1 # CMake file for crosscompiling Maxima/wxMaxima for Windows
2 # SPDX-License-Identifier: GPL-2.0-or-later
3 # Copyright (C) by Wolfgang Dautermann
4 # License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
5 # This is free software: you are free to change and redistribute it.
6 # There is NO WARRANTY, to the extent permitted by law.
8 # If you want to use a updated version of a program,
9 # update the version number and the checksum.
10 # If no further patches are needed, you should get a
11 # updated setup-file automatically.
13 set(TEXINFOVERSION "7.1.1")
14 set(TEXINFO_MD5 "e5fc595794a7980f98ce446a5f8aa273")
15 set(TEXINFO_URL "https://ftp.gnu.org/gnu/texinfo/texinfo-${TEXINFOVERSION}.tar.xz")
18 # Maxima requires a recent version (at least 6.8), on the usual build machines
19 # (Ubuntu 20.04 now) the version is too old.
20 externalproject_add(texinfo
22 DOWNLOAD_DIR ${CMAKE_SOURCE_DIR}/downloads
23 URL_MD5 ${TEXINFO_MD5}
24 CONFIGURE_COMMAND ${CMAKE_BINARY_DIR}/texinfo/texinfo-prefix/src/texinfo/configure --prefix=${CMAKE_BINARY_DIR}/texinfo-installroot
26 INSTALL_COMMAND $(MAKE) install