Mercurial > mxe-octave
view src/qjson.mk @ 3442:ebe73c541a16
allow binary dist to work for gnu-linux target
* octave-wrapper.in: New file.
* bianry-dist-rules.mk: Install wrapper program for octave,
octave-config, and octave-cli binaries on gnu-linux systems.
Fix strip rules for gnu-linux systems.
Don't install Windows-specific files on gnu-linux systems.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 22 Jan 2014 05:06:54 -0500 |
parents | 5ef49fb3299d |
children | 13be64f9f16d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := qjson $(PKG)_IGNORE := $(PKG)_CHECKSUM := 19bbef24132b238e99744bb35194c6dadece98f9 $(PKG)_SUBDIR := $(PKG) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := qt define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/qjson/files/qjson/' | \ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ head -1 endef define $(PKG)_BUILD echo '$(MXE_QMAKE)' mkdir '$(1)/build' cd '$(1)/build' && cmake .. \ -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ -DLIBTYPE=STATIC $(MAKE) -C '$(1)/build' -j '$(JOBS)' install endef