diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-11-25 12:49:02 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-11-25 12:49:02 +0000 |
commit | cdc022d498bcb0aadc91e2a025e3439e2523e902 (patch) | |
tree | 3a68bb757342ed2d7120598c47b8388371429c9d /dev-util/nsis | |
parent | Stable on ppc wrt bug 156121 (diff) | |
download | historical-cdc022d498bcb0aadc91e2a025e3439e2523e902.tar.gz historical-cdc022d498bcb0aadc91e2a025e3439e2523e902.tar.bz2 historical-cdc022d498bcb0aadc91e2a025e3439e2523e902.zip |
Initial import from Sunrise, thanks to Cédric Krier <cedk@gentoo.org> (#136035).
Package-Manager: portage-2.1.1-r1
Diffstat (limited to 'dev-util/nsis')
-rw-r--r-- | dev-util/nsis/ChangeLog | 11 | ||||
-rw-r--r-- | dev-util/nsis/Manifest | 30 | ||||
-rw-r--r-- | dev-util/nsis/files/digest-nsis-2.21 | 3 | ||||
-rw-r--r-- | dev-util/nsis/files/nsis-2.21-config.patch | 29 | ||||
-rw-r--r-- | dev-util/nsis/metadata.xml | 19 | ||||
-rw-r--r-- | dev-util/nsis/nsis-2.21.ebuild | 43 |
6 files changed, 135 insertions, 0 deletions
diff --git a/dev-util/nsis/ChangeLog b/dev-util/nsis/ChangeLog new file mode 100644 index 000000000000..6d78bee36e25 --- /dev/null +++ b/dev-util/nsis/ChangeLog @@ -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 index 000000000000..9990f7ded289 --- /dev/null +++ b/dev-util/nsis/Manifest @@ -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 index 000000000000..7b9d23c5bde5 --- /dev/null +++ b/dev-util/nsis/files/digest-nsis-2.21 @@ -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 index 000000000000..84e9e142a06f --- /dev/null +++ b/dev-util/nsis/files/nsis-2.21-config.patch @@ -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']:
+ 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/metadata.xml b/dev-util/nsis/metadata.xml new file mode 100644 index 000000000000..a98c22505219 --- /dev/null +++ b/dev-util/nsis/metadata.xml @@ -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 index 000000000000..c4b0c1c424d2 --- /dev/null +++ b/dev-util/nsis/nsis-2.21.ebuild @@ -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 +} |