Mercurial > mxe-octave
view src/tiff.mk @ 4028:8803dfa40236
nsis installer: set directory to userprofile on startof octave from installer (Bug #45899)
* installer-files/octave-firsttime.vbs: new file
* binary-dist-rules.mk: copy octave-firsttime.vbs to disy folder
* dist-files.mk: add installer-files/octave-firsttime.vbs
* makeinst-script.sh: install and then run octave-firsttime.vbs if the run checkbox is selected at end of install.
author | John Donoghue |
---|---|
date | Wed, 16 Sep 2015 07:51:27 -0400 |
parents | c8c394328c54 |
children | 36fe0b462682 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := tiff $(PKG)_IGNORE := $(PKG)_VERSION := 4.0.5 $(PKG)_CHECKSUM := 76477a8ca914c132922ca2738ffe629b840e7446 $(PKG)_SUBDIR := tiff-$($(PKG)_VERSION) $(PKG)_FILE := tiff-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://download.osgeo.org/libtiff/$($(PKG)_FILE) $(PKG)_URL_2 := ftp://ftp.remotesensing.org/libtiff/$($(PKG)_FILE) $(PKG)_DEPS := zlib jpeg ifneq ($(MXE_SYSTEM),msvc) $(PKG)_DEPS += xz endif define $(PKG)_UPDATE $(WGET) -q -O- 'http://www.remotesensing.org/libtiff/' | \ $(SED) -n 's,.*>v\([0-9][^<]*\)<.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --without-x && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= DESTDIR='$(3)' rm -f '$(3)$(HOST_LIBDIR)/libtiff.la' rm -f '$(3)$(HOST_LIBDIR)/lib/libtiffxx.la' endef