Initial import from Sunrise, thanks to Cédric Krier <cedk@gentoo.org> (#136035).
authorAlin Năstac <mrness@gentoo.org>
Sat, 25 Nov 2006 12:49:02 +0000 (12:49 +0000)
committerAlin Năstac <mrness@gentoo.org>
Sat, 25 Nov 2006 12:49:02 +0000 (12:49 +0000)
Package-Manager: portage-2.1.1-r1

dev-util/nsis/ChangeLog [new file with mode: 0644]
dev-util/nsis/Manifest [new file with mode: 0644]
dev-util/nsis/files/digest-nsis-2.21 [new file with mode: 0644]
dev-util/nsis/files/nsis-2.21-config.patch [new file with mode: 0644]
dev-util/nsis/metadata.xml [new file with mode: 0644]
dev-util/nsis/nsis-2.21.ebuild [new file with mode: 0644]

diff --git a/dev-util/nsis/ChangeLog b/dev-util/nsis/ChangeLog
new file mode 100644 (file)
index 0000000..6d78bee
--- /dev/null
@@ -0,0 +1,11 @@
+# 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.1 2006/11/25 12:49:02 mrness Exp $
+
+*nsis-2.21 (25 Nov 2006)
+
+  25 Nov 2006; Alin Nastac <mrness@gentoo.org>
+  +files/nsis-2.21-config.patch, +metadata.xml, +nsis-2.21.ebuild:
+  Initial import from Sunrise, thanks to Cédric Krier <cedk@gentoo.org>
+  (#136035).
+
diff --git a/dev-util/nsis/Manifest b/dev-util/nsis/Manifest
new file mode 100644 (file)
index 0000000..9990f7d
--- /dev/null
@@ -0,0 +1,30 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX nsis-2.21-config.patch 1194 RMD160 d8566d14a2140975d77cbff45efb514ca181c594 SHA1 1c57deb4595697f1a38f5b799770b052083f717d SHA256 1e72da5db091e0462ba14f1e0d69f403ceb95b349624857d9f9d6c9081e56521
+MD5 e3844fa0dd6bd911158131aeafb3ac99 files/nsis-2.21-config.patch 1194
+RMD160 d8566d14a2140975d77cbff45efb514ca181c594 files/nsis-2.21-config.patch 1194
+SHA256 1e72da5db091e0462ba14f1e0d69f403ceb95b349624857d9f9d6c9081e56521 files/nsis-2.21-config.patch 1194
+DIST nsis-2.21-src.tar.bz2 1599766 RMD160 99367f3551651eea6c73cd25c938355b9f7e5261 SHA1 ade7a2be95d1d217baa0a22388fc99df5bc6175a SHA256 db8a814c9ffa1723f797751fa145e45106421ad846c654db45cb30dabbfd76a3
+EBUILD nsis-2.21.ebuild 1112 RMD160 a580b11074f0f8ab8f3cc132aefa8fe001c8f54a SHA1 af5ffc4c5739656553de16b55a12c48e4de956f5 SHA256 741a8866e09f3eb43f87ad2edc2d8bdb7f8cabfc1ebb491ae5860e33fee7ebd9
+MD5 35f7f2276d3b603c82b225bf3821c84b nsis-2.21.ebuild 1112
+RMD160 a580b11074f0f8ab8f3cc132aefa8fe001c8f54a nsis-2.21.ebuild 1112
+SHA256 741a8866e09f3eb43f87ad2edc2d8bdb7f8cabfc1ebb491ae5860e33fee7ebd9 nsis-2.21.ebuild 1112
+MISC ChangeLog 426 RMD160 844d4d7b914b32c3e0131488d6b7392c382c2195 SHA1 afc2379aca69953b2d30cb9ff3ed1257cfc0a898 SHA256 f7c6dc0e06fdb1905b07241ff647fc29b8626e86bcfabd04726bc6eebf064097
+MD5 6fbf7aa9b6a57176ddb1beeef066e71e ChangeLog 426
+RMD160 844d4d7b914b32c3e0131488d6b7392c382c2195 ChangeLog 426
+SHA256 f7c6dc0e06fdb1905b07241ff647fc29b8626e86bcfabd04726bc6eebf064097 ChangeLog 426
+MISC metadata.xml 799 RMD160 e07d22dc7a5d9e2860f290edc81e8d8a826f19d4 SHA1 c62253e6864d3f3c312c30de20eb93f38bde0242 SHA256 72629f19d6d258ccb193efe70333a9b8e9b453810493ebc729725579edafbddb
+MD5 0416235ce7367f932eb7b239a7cf3e0c metadata.xml 799
+RMD160 e07d22dc7a5d9e2860f290edc81e8d8a826f19d4 metadata.xml 799
+SHA256 72629f19d6d258ccb193efe70333a9b8e9b453810493ebc729725579edafbddb metadata.xml 799
+MD5 df8df3eee3764db329e1a21ae15b29b8 files/digest-nsis-2.21 247
+RMD160 8a14039ece277f01b9e4fa973fdcaabe3b2b8222 files/digest-nsis-2.21 247
+SHA256 e3d18a1d49d444eaa0d286795166015a0ba64da7a7d5c717c5f5c94598533d6a files/digest-nsis-2.21 247
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFaDvu3sf9c6kjmR8RAoOdAJ9KbSFcBR+CuAn355X57/C4jS62UQCfWUD9
+DdrfTLGHYiybz9PaN19ZMgQ=
+=zTNs
+-----END PGP SIGNATURE-----
diff --git a/dev-util/nsis/files/digest-nsis-2.21 b/dev-util/nsis/files/digest-nsis-2.21
new file mode 100644 (file)
index 0000000..7b9d23c
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 1308c5841e4fafa5834114057209fbee nsis-2.21-src.tar.bz2 1599766
+RMD160 99367f3551651eea6c73cd25c938355b9f7e5261 nsis-2.21-src.tar.bz2 1599766
+SHA256 db8a814c9ffa1723f797751fa145e45106421ad846c654db45cb30dabbfd76a3 nsis-2.21-src.tar.bz2 1599766
diff --git a/dev-util/nsis/files/nsis-2.21-config.patch b/dev-util/nsis/files/nsis-2.21-config.patch
new file mode 100644 (file)
index 0000000..84e9e14
--- /dev/null
@@ -0,0 +1,29 @@
+diff -Nru nsis-2.21-src.orig/SCons/Config/gnu nsis-2.21-src/SCons/Config/gnu
+--- nsis-2.21-src.orig/SCons/Config/gnu        2006-11-25 14:02:55.000000000 +0200
++++ nsis-2.21-src/SCons/Config/gnu     2006-11-25 14:03:40.000000000 +0200
+@@ -68,6 +68,7 @@
+ if not defenv['DEBUG']:\r
+       stub_env.Append(LINKFLAGS = '-s')               # strip\r
+ stub_env.Append(LINKFLAGS = '-mwindows')          # build windows executables\r
++stub_env.Append(LINKFLAGS = '-L/usr/mingw32/usr/lib')\r
+ stub_env.Append(LINKFLAGS = '$NODEFLIBS_FLAG')    # no standard libraries\r
+ stub_env.Append(LINKFLAGS = '$ALIGN_FLAG')        # 512 bytes align\r
+ stub_env.Append(LINKFLAGS = '-Wl,-e,_WinMain@16') # entry point\r
+@@ -83,8 +84,6 @@
\r
+ conf = FlagsConfigure(makensis_env)\r
+ conf.CheckLinkFlag('$MAP_FLAG')                   # generate map file\r
+-if not defenv['DEBUG']:\r
+-      TestStrip(conf)                                 # strip\r
+ conf.Finish()\r
\r
+ ### plugin environment\r
+@@ -112,8 +111,6 @@
\r
+ conf = FlagsConfigure(cp_util_env)\r
+ conf.CheckLinkFlag('$MAP_FLAG')                   # generate map file\r
+-if not defenv['DEBUG']:\r
+-      TestStrip(conf)                                 # strip\r
+ conf.Finish()\r
\r
+ ### util environment\r
diff --git a/dev-util/nsis/metadata.xml b/dev-util/nsis/metadata.xml
new file mode 100644 (file)
index 0000000..a98c225
--- /dev/null
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+  <email>mrness@gentoo.org</email>
+  <name>Alin Nastac</name>
+</maintainer>
+<longdescription>
+NSIS (Nullsoft Scriptable Install System) is a professional open source
+system to create Windows installers. It is designed to be as small and
+flexible as possible and is therefore very suitable for Internet distribution.
+
+NSIS is script-based and allows you to create the logic to handle even the
+most complex installation tasks. Many plug-ins and scripts are already
+available: you can create web installers, communicate with Windows and other
+software components, install or update shared components and more.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-util/nsis/nsis-2.21.ebuild b/dev-util/nsis/nsis-2.21.ebuild
new file mode 100644 (file)
index 0000000..c4b0c1c
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.21.ebuild,v 1.1 2006/11/25 12:49:02 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.91"
+
+S=${WORKDIR}/${P}-src
+
+pkg_setup() {
+       if ! has_version cross-mingw32/gcc; then
+               eerror "cross-mingw32/gcc is needed"
+               die "emerge crossdev && crossdev mingw32"
+       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
+}