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 | e9443c163042737a81d258fea012d4a459efa622 (patch) | |
tree | 7f725695b6814979bde663dfd7da6db3575b69ae /dev-util/nsis | |
parent | Stable on ppc wrt bug 156121 (diff) | |
download | gentoo-2-e9443c163042737a81d258fea012d4a459efa622.tar.gz gentoo-2-e9443c163042737a81d258fea012d4a459efa622.tar.bz2 gentoo-2-e9443c163042737a81d258fea012d4a459efa622.zip |
Initial import from Sunrise, thanks to Cédric Krier <cedk@gentoo.org> (#136035).
(Portage version: 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 | 20 | ||||
-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, 125 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..66e4a40e7954 --- /dev/null +++ b/dev-util/nsis/Manifest @@ -0,0 +1,20 @@ +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 1020 RMD160 6e85532d74229acd567b9696a941a4ace35586fe SHA1 09e467df65dcb5acd93666cb27a8c51df99e64c4 SHA256 a291fa9fbf9c8eddabd0d749fe8d65633fe1ec0228266389fa025e9896b326e8 +MD5 7eb172ca7aa36a9100514981129c651d nsis-2.21.ebuild 1020 +RMD160 6e85532d74229acd567b9696a941a4ace35586fe nsis-2.21.ebuild 1020 +SHA256 a291fa9fbf9c8eddabd0d749fe8d65633fe1ec0228266389fa025e9896b326e8 nsis-2.21.ebuild 1020 +MISC ChangeLog 341 RMD160 85ec718be2d16bb74e91027b8b14f0ae231addb5 SHA1 5176d9d3d412b504060d6a34f5651d7693f80b1b SHA256 32c85d9ec40a6366894ec8af1d0ae42643d5881e170ad85f35a8f5aad95c73d9 +MD5 2f4de13023399ffedd72b670d61764c0 ChangeLog 341 +RMD160 85ec718be2d16bb74e91027b8b14f0ae231addb5 ChangeLog 341 +SHA256 32c85d9ec40a6366894ec8af1d0ae42643d5881e170ad85f35a8f5aad95c73d9 ChangeLog 341 +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 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 +} |