annotate src/nsis.mk @ 4543:7d1e45c2f175

update: more PKG_UPDATE updates, added update-octaveforge target * src/libxml++.mk, src/libxml2.mk, src/libxshmfence.mk, src/libxslt.mk, src/llvm.mk, src/mingwrt.mk, src/msys-libcrypt.mk, src/msys-libopenssl.mk, src/muparser.mk, rc/nsis.mk: update PKG_UPDATE rule * src/of-actuarial.mk, src/of-communications.mk, src/of-control.mk, src/of-data-smoothing.mk, src/of-database.mk, src/of-dataframe.mk, src/of-dicom.mk, src/of-financial.mk, src/of-fits.mk, src/of-fl-core.mk, src/of-fuzzy-logic-toolkit.mk, src/of-ga.mk, src/of-ga.mk, src/of-general.mk, src/of-generate_html.mk, src/of-geometry.mk, src/of-gsl.mk, src/of-image.mk, src/of-instrument-control.mk, src/of-interval.mk, src/of-io.mk, src/of-linear-algebra.mk, src/of-lssa.mk, src/of-ltfat.mk, src/of-mapping.mk, src/of-miscellaneous.mk, src/of-nan.mk, src/of-netcdf.mk, src/of-nurbs.mk, src/of-ocs.mk, src/of-octcdf.mk, src/of-odepkg.mk, src/of-optim.mk, src/of-quaternion.mk, src/of-signal.mk, src/of-sockets.mk, src/of-sparsersb.mk, src/of-specfun.mk, src/of-splines.mk, src/of-statistics.mk, src/of-stk.mk, src/of-strings.mk, src/of-struct.mk, src/of-tisean.mk, src/of-tsa.mk, src/of-video.mk, src/of-windows.mk, src/of-zeromq.mk, src/of-queueing.mk, : use $(OCTAVE_FORGE_PKG_UPDATE) * Makefile.in: added OCTAVE_FORGE_PKG_UPDATE macro, added update-octaveforge target
author John D
date Wed, 22 Nov 2017 15:26:02 -0500
parents 1d86cb0348ff
children db65981db893
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1838
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 389
diff changeset
3
322
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := nsis
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 422
diff changeset
5 $(PKG)_IGNORE :=
4118
a14a5640d12b nsis: update to 2.50
John Donoghue
parents: 3804
diff changeset
6 $(PKG)_VERSION := 2.50
a14a5640d12b nsis: update to 2.50
John Donoghue
parents: 3804
diff changeset
7 $(PKG)_CHECKSUM := 3748b81b83fb3d717da0db4178c228ac6e2a0543
322
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := nsis-$($(PKG)_VERSION)-src
324
beb10af0e886 improved coding style: use a consistent order of variables
Volker Grabsch <vog@notjusthosting.com>
parents: 322
diff changeset
9 $(PKG)_FILE := nsis-$($(PKG)_VERSION)-src.tar.bz2
422
d2f5eb27e051 improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/nsis/NSIS 2/$($(PKG)_VERSION)/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS :=
322
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
4543
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4173
diff changeset
14 $(WGET) -q -O- 'https://sourceforge.net/p/nsis/code/HEAD/tree/NSIS/tags/' | \
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4173
diff changeset
15 grep 'title="v' | \
7d1e45c2f175 update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents: 4173
diff changeset
16 $(SED) -n 's,.*href="v\([0-9]\)\([^"]*\)".*,\1.\2,p' | \
3561
ae4193aad5fe revise and enable more $(PKG)_UPDATE rules
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
17 tail -1
322
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
3804
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
19 ifeq ($(ENABLE_WINDOWS_64),yes)
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
20 define $(PKG)_BUILD
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
21 cd '$(1)' && patch -p1 < $(TOP_DIR)/src/win64-nsis.patch
322
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22
3804
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
23 cd '$(1)' && scons VERBOSE=1 \
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
24 MINGW_CROSS_PREFIX='$(MXE_TOOL_PREFIX)' \
4173
1d86cb0348ff nsis: install all files to BUILD_PREFIX (Bug #48530)
John Donoghue <john.donoghue@ieee.org>
parents: 4118
diff changeset
25 PREFIX='$(BUILD_TOOLS_PREFIX)' \
3804
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
26 APPEND_LIBPATH='$(HOST_PREFIX)/lib32' \
4173
1d86cb0348ff nsis: install all files to BUILD_PREFIX (Bug #48530)
John Donoghue <john.donoghue@ieee.org>
parents: 4118
diff changeset
27 SKIPUTILS='MakeLangId,Makensisw,NSIS Menu,zip2exe' \
3804
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
28 install
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
29 $(INSTALL) -m755 '$(BUILD_TOOLS_PREFIX)/bin/makensis' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)makensis'
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
30 endef
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
31 else
322
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 define $(PKG)_BUILD
2994
a1d474da2036 Update nsis to mxe devel branch 22-May 2013.
John Donoghue <john.donoghue@ieee.org>
parents: 2525
diff changeset
33 cd '$(1)' && scons VERBOSE=1 \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
34 MINGW_CROSS_PREFIX='$(MXE_TOOL_PREFIX)' \
4173
1d86cb0348ff nsis: install all files to BUILD_PREFIX (Bug #48530)
John Donoghue <john.donoghue@ieee.org>
parents: 4118
diff changeset
35 PREFIX='$(BUILD_TOOLS_PREFIX)' \
389
a1b6f6a2015b portability for systems without /usr/local on package nsis
Volker Grabsch <vog@notjusthosting.com>
parents: 379
diff changeset
36 `[ -d /usr/local/include ] && echo APPEND_CPPPATH=/usr/local/include` \
a1b6f6a2015b portability for systems without /usr/local on package nsis
Volker Grabsch <vog@notjusthosting.com>
parents: 379
diff changeset
37 `[ -d /usr/local/lib ] && echo APPEND_LIBPATH=/usr/local/lib` \
4173
1d86cb0348ff nsis: install all files to BUILD_PREFIX (Bug #48530)
John Donoghue <john.donoghue@ieee.org>
parents: 4118
diff changeset
38 SKIPUTILS='MakeLangId,Makensisw,NSIS Menu,zip2exe' \
376
95b292facf30 add search paths to libiconv on FreeBSD for package nsis
Volker Grabsch <vog@notjusthosting.com>
parents: 334
diff changeset
39 install
3745
e3c3beae094b nsis: install native bins to build tools path
John Donoghue
parents: 3561
diff changeset
40 $(INSTALL) -m755 '$(BUILD_TOOLS_PREFIX)/bin/makensis' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)makensis'
322
3e5e759d95e3 new package: nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 endef
3804
7e15ef9bf1e5 Update build-gcc, nsis to compile when in w64 mode.
John D
parents: 3745
diff changeset
42 endif