Mercurial > mxe-octave
changeset 322:3e5e759d95e3
new package: nsis
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 16 Apr 2009 11:59:55 +0200 |
parents | 37fc68af2e18 |
children | 5dde467a5517 |
files | doc/README.html src/nsis.mk |
diffstat | 2 files changed, 23 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/README.html Thu Apr 16 09:01:45 2009 +0200 +++ b/doc/README.html Thu Apr 16 11:59:55 2009 +0200 @@ -168,7 +168,7 @@ <dt>Linux</dt> <dd> - Install GCC and GNU Make (>= 3.81), + Install GCC, GNU Make (>= 3.81) and SCons (>= 0.98), everything else is usually already there. </dd> @@ -177,7 +177,7 @@ Create a minimal Debian system with <a href="http://www.debian-administration.org/articles/426">debootstrap</a>, then run: - <pre>aptitude install -R g++ make openssl unzip bzip2 patch</pre> + <pre>aptitude install -R g++ make scons openssl unzip bzip2 patch</pre> </dd> <dt>FreeBSD</dt>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/nsis.mk Thu Apr 16 11:59:55 2009 +0200 @@ -0,0 +1,21 @@ +# NSIS + +PKG := nsis +$(PKG)_VERSION := 2.44 +$(PKG)_CHECKSUM := 07db4bcbbba7b66b4e1553c2d6ea42ed8eaab66a +$(PKG)_SUBDIR := nsis-$($(PKG)_VERSION)-src +$(PKG)_WEBSITE := http://nsis.sourceforge.net/ +$(PKG)_FILE := nsis-$($(PKG)_VERSION)-src.tar.bz2 +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/nsis/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://nsis.sourceforge.net/Download' | \ + grep 'nsis-' | \ + $(SED) -n 's,.*nsis-\([0-9][^>]*\)-src\.tar.*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && scons PREFIX='$(PREFIX)' install +endef