annotate src/qscintilla.mk @ 3064:be70678cc47b

Update QScintilla to 2.7.2 * index.html: update qscintilla-version to 2.7.2. * qsintilla.mk: update checksum for 2.7.2, update URL to use PKG_VERSION for URL path.
author "John Donoghue <john.donoghue@ieee.org>
date Mon, 17 Jun 2013 22:13:30 -0400
parents b6c7244a2f66
children 7f1d390cbd83
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2935
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := qscintilla
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3064
be70678cc47b Update QScintilla to 2.7.2
"John Donoghue <john.donoghue@ieee.org>
parents: 3014
diff changeset
6 $(PKG)_CHECKSUM := 2a11fb6be2c3005bc6502f929a0a339d4303af9b
2935
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_SUBDIR := QScintilla-gpl-$($(PKG)_VERSION)/Qt4Qt5
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_FILE := QScintilla-gpl-$($(PKG)_VERSION).tar.gz
3064
be70678cc47b Update QScintilla to 2.7.2
"John Donoghue <john.donoghue@ieee.org>
parents: 3014
diff changeset
9 $(PKG)_URL := http://sourceforge.net/projects/pyqt/files/QScintilla2/QScintilla-$($(PKG)_VERSION)/$($(PKG)_FILE)
2935
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_DEPS := qt
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 define $(PKG)_UPDATE
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 echo 'Warning: Updates are temporarily disabled for package qscintilla.' >&2;
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo $(qscintilla_VERSION)
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 endef
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2935
diff changeset
17 ifneq ($(MXE_NATIVE_BUILD),yes)
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2935
diff changeset
18 ifeq ($(MXE_SYSTEM),mingw)
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2997
diff changeset
19 $(PKG)_QMAKE_SPEC_OPTION := -spec '$(HOST_PREFIX)/mkspecs/win32-g++'
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2935
diff changeset
20 endif
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2935
diff changeset
21 endif
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2935
diff changeset
22
2935
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 define $(PKG)_BUILD
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
24 cd '$(1)' && '$(HOST_BINDIR)/qmake' -makefile $($(PKG)_QMAKE_SPEC_OPTION)
2935
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j '$(JOBS)'
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 $(MAKE) -C '$(1)' -j 1 install
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2935
diff changeset
28 if [ $(MXE_SYSTEM) = mingw ]; then \
3014
b6c7244a2f66 Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
29 $(INSTALL) -m755 '$(HOST_LIBDIR)/qscintilla2.dll' '$(HOST_BINDIR)/qscintilla2.dll'; \
2997
4f9b72cf7ee7 allow native builds too
John W. Eaton <jwe@octave.org>
parents: 2935
diff changeset
30 fi
2935
8cf0cbcdaeea Include qscintilla as a dependency of Octave
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 endef