Mercurial > mxe-octave
view src/qwtplot3d.mk @ 2988:aca8511e7751
qt.mk: link to correct files in bin directory
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 16 May 2013 13:32:57 -0400 |
parents | 4d0f3a9da57e |
children | 100e618349f7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := qwtplot3d $(PKG)_IGNORE := $(PKG)_CHECKSUM := 4463fafb8420a91825e165da7a296aaabd70abea $(PKG)_SUBDIR := $(PKG) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := gcc qt zlib define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \ $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && '$(PREFIX)/bin/$(TARGET)-qmake' $(MAKE) -C '$(1)' -j '$(JOBS)' $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' $(INSTALL) -m644 '$(1)/lib/libqwtplot3d.a' '$(PREFIX)/$(TARGET)/lib/' $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' $(INSTALL) -d '$(PREFIX)/$(TARGET)/include/qwtplot3d' $(INSTALL) -m644 '$(1)/include'/*.h '$(PREFIX)/$(TARGET)/include/qwtplot3d/' endef