Mercurial > mxe-octave
annotate src/nsis.mk @ 3012:100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
BUILD_TOOLS_PREFIX variables in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 10:31:04 -0400 |
parents | a1d474da2036 |
children | b6c7244a2f66 |
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 | 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 := |
579
2b211f6c7448
update version of package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
499
diff
changeset
|
6 $(PKG)_CHECKSUM := 2cc9bff130031a0b1d76b01ec0a9136cdf5992ce |
322 | 7 $(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
|
8 $(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
|
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/nsis/NSIS 2/$($(PKG)_VERSION)/$($(PKG)_FILE) |
322 | 10 $(PKG)_DEPS := gcc |
11 | |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://nsis.svn.sourceforge.net/viewvc/nsis/NSIS/tags/?sortby=date' | \ |
499
abc655cb4694
improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents:
478
diff
changeset
|
14 grep '<a name="' | \ |
abc655cb4694
improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents:
478
diff
changeset
|
15 $(SED) -n 's,.*<a name="v\([0-9]\)\([^"]*\)".*,\1.\2,p' | \ |
abc655cb4694
improved version recognition of packages atk, glib, gtk, libxml2, libxslt, nsis, pango, sdl, sdl_image, sdl_mixer and sdl_ttf
Volker Grabsch <vog@notjusthosting.com>
parents:
478
diff
changeset
|
16 head -1 |
322 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
2994
a1d474da2036
Update nsis to mxe devel branch 22-May 2013.
John Donoghue <john.donoghue@ieee.org>
parents:
2525
diff
changeset
|
20 cd '$(1)' && scons VERBOSE=1 \ |
1838
f5b22f17e3ce
bugfix: enable package nsis to use the correct MinGW cross toolchain on systems where multiple MinGW cross toolchains are present
Volker Grabsch <vog@notjusthosting.com>
parents:
881
diff
changeset
|
21 MINGW_CROSS_PREFIX='$(TARGET)-' \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2994
diff
changeset
|
22 PREFIX='$(HOST_PREFIX)' \ |
389
a1b6f6a2015b
portability for systems without /usr/local on package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
379
diff
changeset
|
23 `[ -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
|
24 `[ -d /usr/local/lib ] && echo APPEND_LIBPATH=/usr/local/lib` \ |
379
518dc5012994
bugfix in the build options for package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
377
diff
changeset
|
25 SKIPUTILS='NSIS Menu' \ |
376
95b292facf30
add search paths to libiconv on FreeBSD for package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
334
diff
changeset
|
26 install |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2994
diff
changeset
|
27 $(INSTALL) -m755 '$(HOST_PREFIX)/bin/makensis' '$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-makensis' |
322 | 28 endef |