mxe/src/qtwebview.mk

23 lines
720 B
Makefile

# This file is part of MXE. See LICENSE.md for licensing information.
PKG := qtwebview
$(PKG)_WEBSITE := http://qt-project.org/
$(PKG)_DESCR := Qt
$(PKG)_IGNORE :=
$(PKG)_VERSION = $(qtbase_VERSION)
$(PKG)_CHECKSUM := b7d8d4dc8c11f4e70668da509d827c7342b3e5864e8d83f3a0fa56b9cd527fd3
$(PKG)_SUBDIR = $(subst qtbase,qtwebview,$(qtbase_SUBDIR))
$(PKG)_FILE = $(subst qtbase,qtwebview,$(qtbase_FILE))
$(PKG)_URL = $(subst qtbase,qtwebview,$(qtbase_URL))
$(PKG)_DEPS := gcc qtbase
define $(PKG)_UPDATE
echo $(qtbase_VERSION)
endef
define $(PKG)_BUILD
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef