diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-04-16 09:59:55 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-04-16 09:59:55 (GMT) |
commit | f4fdf41a17a12354296194e09147516f60b04595 (patch) | |
tree | 24dd93d907fb49cba7f76ac833ba412099a26b25 | |
parent | 14aa2466992ff909fae387ff769f884065bc1de0 (diff) | |
download | mxe-f4fdf41a17a12354296194e09147516f60b04595.zip mxe-f4fdf41a17a12354296194e09147516f60b04595.tar.gz mxe-f4fdf41a17a12354296194e09147516f60b04595.tar.bz2 |
new package: nsis
-rw-r--r-- | doc/README.html | 4 | ||||
-rw-r--r-- | src/nsis.mk | 21 |
2 files changed, 23 insertions, 2 deletions
diff --git a/doc/README.html b/doc/README.html index f1fb001..1a9d38f 100644 --- a/doc/README.html +++ b/doc/README.html @@ -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> diff --git a/src/nsis.mk b/src/nsis.mk new file mode 100644 index 0000000..3fab626 --- /dev/null +++ b/src/nsis.mk @@ -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 |