You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/qscintilla2.mk

26 lines
982 B

# This file is part of MXE.
# See index.html for further information.
PKG := qscintilla2
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.8.2
$(PKG)_CHECKSUM := cfb24bfec54ea869bc3a326b9a935fc25aea7bec
$(PKG)_SUBDIR := QScintilla-gpl-$($(PKG)_VERSION)
$(PKG)_FILE := QScintilla-gpl-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://downloads.sourceforge.net/project/pyqt/QScintilla2/QScintilla-$($(PKG)_VERSION)/$($(PKG)_FILE)?r=http%3A%2F%2Fwww.riverbankcomputing.com%2Fsoftware%2Fqscintilla%2Fdownload&ts=1402598406&use_mirror=freefr
$(PKG)_DEPS := gcc qt5
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.riverbankcomputing.com/software/qscintilla/download' | \
grep QScintilla-gpl | \
head -n 1 | \
$(SED) -n 's,.*QScintilla-gpl-\([0-9][^>]*\)\.zip.*,\1,p'
endef
define $(PKG)_BUILD
cd '$(1)/Qt4Qt5' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' qscintilla.pro
$(MAKE) -C '$(1)/Qt4Qt5' -j '$(JOBS)'
$(MAKE) -C '$(1)/Qt4Qt5' -j '$(JOBS)' install
endef