summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-01-15 12:39:37 +0000
committerAlin Năstac <mrness@gentoo.org>2007-01-15 12:39:37 +0000
commitb46bec75464a2cce91352be527833c2700b394eb (patch)
tree8a231db1d602c954bf06fa20f8965e016aa0bdb1 /dev-util/nsis
parentDepend on jdk-1.6, bug #162027 (diff)
downloadgentoo-2-b46bec75464a2cce91352be527833c2700b394eb.tar.gz
gentoo-2-b46bec75464a2cce91352be527833c2700b394eb.tar.bz2
gentoo-2-b46bec75464a2cce91352be527833c2700b394eb.zip
Version bump.
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-util/nsis')
-rw-r--r--dev-util/nsis/ChangeLog10
-rw-r--r--dev-util/nsis/files/digest-nsis-2.233
-rw-r--r--dev-util/nsis/files/nsis-2.23-config.patch29
-rw-r--r--dev-util/nsis/nsis-2.23.ebuild45
4 files changed, 85 insertions, 2 deletions
diff --git a/dev-util/nsis/ChangeLog b/dev-util/nsis/ChangeLog
index f00d838d3467..da2aeef2e1c8 100644
--- a/dev-util/nsis/ChangeLog
+++ b/dev-util/nsis/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/nsis
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.2 2006/12/29 23:04:49 cedk Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.3 2007/01/15 12:39:37 mrness Exp $
+
+*nsis-2.23 (15 Jan 2007)
+
+ 15 Jan 2007; Alin Nastac <mrness@gentoo.org>
+ +files/nsis-2.23-config.patch, +nsis-2.23.ebuild:
+ Version bump.
*nsis-2.22 (29 Dec 2006)
diff --git a/dev-util/nsis/files/digest-nsis-2.23 b/dev-util/nsis/files/digest-nsis-2.23
new file mode 100644
index 000000000000..f2868ce4663d
--- /dev/null
+++ b/dev-util/nsis/files/digest-nsis-2.23
@@ -0,0 +1,3 @@
+MD5 5f947798a2013e3f4796817cc133e0c2 nsis-2.23-src.tar.bz2 1604427
+RMD160 a80fd5b8e5984e8a0f3acbd8717e4c363d20fe19 nsis-2.23-src.tar.bz2 1604427
+SHA256 cf76014e34c54b5c3797ba36747f735cd2d95052a9e04960233d3233e6ad6bdf nsis-2.23-src.tar.bz2 1604427
diff --git a/dev-util/nsis/files/nsis-2.23-config.patch b/dev-util/nsis/files/nsis-2.23-config.patch
new file mode 100644
index 000000000000..57ecd906d781
--- /dev/null
+++ b/dev-util/nsis/files/nsis-2.23-config.patch
@@ -0,0 +1,29 @@
+diff -Nru nsis-2.23-src.orig/SCons/Config/gnu nsis-2.23-src/SCons/Config/gnu
+--- nsis-2.23-src.orig/SCons/Config/gnu 2006-11-11 15:04:17.000000000 +0200
++++ nsis-2.23-src/SCons/Config/gnu 2007-01-15 14:25:59.000000000 +0200
+@@ -68,6 +68,7 @@
+ if not defenv['DEBUG']:
+ stub_env.Append(LINKFLAGS = '-s') # strip
+ stub_env.Append(LINKFLAGS = '-mwindows') # build windows executables
++stub_env.Append(LINKFLAGS = '-L/usr/mingw32/usr/lib')
+ stub_env.Append(LINKFLAGS = '$NODEFLIBS_FLAG') # no standard libraries
+ stub_env.Append(LINKFLAGS = '$ALIGN_FLAG') # 512 bytes align
+ stub_env.Append(LINKFLAGS = '-Wl,-e,_WinMain@16') # entry point
+@@ -83,8 +84,6 @@
+
+ conf = FlagsConfigure(makensis_env)
+ conf.CheckLinkFlag('$MAP_FLAG') # generate map file
+-if not defenv['DEBUG']:
+- TestStrip(conf) # strip
+ conf.Finish()
+
+ ### plugin environment
+@@ -112,8 +111,6 @@
+
+ conf = FlagsConfigure(cp_util_env)
+ conf.CheckLinkFlag('$MAP_FLAG') # generate map file
+-if not defenv['DEBUG']:
+- TestStrip(conf) # strip
+ conf.Finish()
+
+ ### util environment
diff --git a/dev-util/nsis/nsis-2.23.ebuild b/dev-util/nsis/nsis-2.23.ebuild
new file mode 100644
index 000000000000..83e77d8827f3
--- /dev/null
+++ b/dev-util/nsis/nsis-2.23.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.23.ebuild,v 1.1 2007/01/15 12:39:37 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="Nullsoft Scriptable Install System"
+HOMEPAGE="http://nsis.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=dev-util/scons-0.96.93"
+
+S="${WORKDIR}"/${P}-src
+
+pkg_setup() {
+ if ! has_version cross-mingw32/gcc; then
+ eerror "Before you could emerge nsis, you need to install mingw32."
+ eerror "Run the following command:"
+ eerror " emerge crossdev && crossdev mingw32"
+ die "cross-mingw32/gcc is needed"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-config.patch
+}
+
+src_compile() {
+ scons PREFIX=/usr PREFIX_CONF=/etc PREFIX_DOC="/usr/share/doc/${P}" \
+ PREFIX_DEST="${D}" SKIPPLUGINS=System || die "scons failed"
+}
+
+src_install() {
+ scons PREFIX=/usr PREFIX_CONF=/etc PREFIX_DOC="/usr/share/doc/${P}" \
+ PREFIX_DEST="${D}" SKIPPLUGINS=System install || die "scons install failed"
+ fperms -R go-w,a-x,a+X /usr/share/${PN}/ /usr/share/doc/${P}/ /etc/nsisconf.nsh
+}