Mercurial > mxe-octave
view src/ocaml-native.mk @ 4222:44b1a9b2193e
qt5: add initial qt5 to mxe-octave, based on mxe.cc
* src/qt5.mk: new file
* src/qtbase-1-fixes.patch: new file
* src/qtbase.mk: new file
* src/qtimageformats-1.patch: new file
* src/qtimageformats.mk: new file
* src/qtsvg.mk: new file
* src/qttools-1.patch: new file
* added src/qttools.mk: new file
* changed Makefile.in: added ENABLE_QT5 option
* configure.ac: added enable-qt5 option
* index.html: added new files to packages
* installer-files/octave-firsttime.vbs: added setup of qt5 bin, plugin path
* installer-files/octave.vbs: added setup of qt5 bin, plugin path
* installer-files/octave.bat: added setup of qt5 bin path
* src/default-octave.mk: added settig fot qt5 usage
* src/qscintilla.mk: added qt5 path
author | John D |
---|---|
date | Thu, 29 Sep 2016 11:22:51 -0400 |
parents | 13be64f9f16d |
children |
line wrap: on
line source
# This file is part of mingw-cross-env. # See doc/index.html for further information. # zlib PKG := ocaml-native $(PKG)_IGNORE := $(PKG)_VERSION := 4.00.0 $(PKG)_CHECKSUM := 9653e76dd14f0fbb750d7b438415890ab9fe2f4e $(PKG)_SUBDIR := ocaml-$($(PKG)_VERSION) $(PKG)_FILE := ocaml-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://caml.inria.fr/pub/distrib/ocaml-4.00/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE wget -q -O- 'http://caml.inria.fr/pub/distrib/ocaml-3.12' | \ $(SED) -n 's,.*ocaml-\([0-9][^>]*\)\.tar.*,\1,ip' | \ tail -1 endef define $(PKG)_BUILD # patched ocaml source to get ocamlbuild use $(MXE_TOOL_PREFIX)ocamlc, $(MXE_TOOL_PREFIX)ocamlfind, ... cd '$(1)' && ./configure \ -prefix '$(HOST_PREFIX)' \ -bindir '$(HOST_BINDIR)/ocaml-native' \ -libdir '$(HOST_LIBDIR)/ocaml-native' \ -no-tk \ -no-shared-libs \ -verbose $(MAKE) -C '$(1)' -j 1 world opt $(SED) -i "s,@target@,$(TARGET),g" $(1)/ocamlbuild/options.ml $(SED) -i "s,@target@,$(TARGET),g" $(1)/ocamlbuild/findlib.ml $(MAKE) -C '$(1)' -j '$(JOBS)' ocamlbuild.native cp -f '$(1)/_build/ocamlbuild/ocamlbuild.native' $(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)ocamlbuild $(MAKE) -C '$(1)' install # the following script requires ocamlbuild with option -ocamlfind to work #(echo '#!/bin/sh'; \ # echo 'exec $(BUILD_TOOLS_PREFIX)/bin/ocamlbuild -use-ocamlfind -ocamlfind $(MXE_TOOL_PREFIX)ocamlfind "$$@"') \ # > '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)ocamlbuild' #chmod 0755 '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)ocamlbuild' # test will be done once cross ocamlopt is built endef