Mercurial > mxe-octave
annotate src/nsis.mk @ 641:dab071eac9c0
simplified file markers
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Sat, 16 Jan 2010 23:02:02 +0100 |
parents | 2b211f6c7448 |
children | 29f1ba4559ae |
rev | line source |
---|---|
641
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
579
diff
changeset
|
1 # This file is part of mingw-cross-env. |
dab071eac9c0
simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents:
579
diff
changeset
|
2 # See doc/index.html or doc/README 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 # NSIS |
5 PKG := nsis | |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
422
diff
changeset
|
6 $(PKG)_IGNORE := |
579
2b211f6c7448
update version of package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
499
diff
changeset
|
7 $(PKG)_VERSION := 2.46 |
2b211f6c7448
update version of package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
499
diff
changeset
|
8 $(PKG)_CHECKSUM := 2cc9bff130031a0b1d76b01ec0a9136cdf5992ce |
322 | 9 $(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
|
10 $(PKG)_FILE := nsis-$($(PKG)_VERSION)-src.tar.bz2 |
322 | 11 $(PKG)_WEBSITE := http://nsis.sourceforge.net/ |
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
|
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/nsis/NSIS 2/$($(PKG)_VERSION)/$($(PKG)_FILE) |
322 | 13 $(PKG)_DEPS := gcc |
14 | |
15 define $(PKG)_UPDATE | |
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
|
16 wget -q -O- 'http://nsis.svn.sourceforge.net/viewvc/nsis/NSIS/tags/?sortby=date' | \ |
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
|
17 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
|
18 $(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
|
19 head -1 |
322 | 20 endef |
21 | |
22 define $(PKG)_BUILD | |
334
23cac175a7c6
portability fix for MacOS X in package nsis: Don't use the "SetIcon(wxICON(...))" call
Volker Grabsch <vog@notjusthosting.com>
parents:
324
diff
changeset
|
23 $(SED) 's,this->SetIcon(wxICON(nsisicon));,,' -i '$(1)/Contrib/NSIS Menu/nsismenu/nsismenu.cpp' |
376
95b292facf30
add search paths to libiconv on FreeBSD for package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
334
diff
changeset
|
24 cd '$(1)' && scons \ |
379
518dc5012994
bugfix in the build options for package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
377
diff
changeset
|
25 PREFIX='$(PREFIX)' \ |
389
a1b6f6a2015b
portability for systems without /usr/local on package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
379
diff
changeset
|
26 `[ -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
|
27 `[ -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
|
28 SKIPUTILS='NSIS Menu' \ |
376
95b292facf30
add search paths to libiconv on FreeBSD for package nsis
Volker Grabsch <vog@notjusthosting.com>
parents:
334
diff
changeset
|
29 install |
322 | 30 endef |