1 |
vapier 08/04/20 09:33:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nsis-2.36.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_pre5) |
8 |
|
9 |
Revision Changes Path |
10 |
1.17 dev-util/nsis/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?rev=1.17&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?rev=1.17&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/ChangeLog?r1=1.16&r2=1.17 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v |
19 |
retrieving revision 1.16 |
20 |
retrieving revision 1.17 |
21 |
diff -u -r1.16 -r1.17 |
22 |
--- ChangeLog 30 Dec 2007 08:30:35 -0000 1.16 |
23 |
+++ ChangeLog 20 Apr 2008 09:32:59 -0000 1.17 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for dev-util/nsis |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.16 2007/12/30 08:30:35 mrness Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/ChangeLog,v 1.17 2008/04/20 09:32:59 vapier Exp $ |
30 |
+ |
31 |
+*nsis-2.36 (20 Apr 2008) |
32 |
+ |
33 |
+ 20 Apr 2008; Mike Frysinger <vapier@g.o> +nsis-2.36.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*nsis-2.34 (30 Dec 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-util/nsis/nsis-2.36.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.36.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/nsis/nsis-2.36.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: nsis-2.36.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/nsis/nsis-2.36.ebuild,v 1.1 2008/04/20 09:32:59 vapier Exp $ |
51 |
|
52 |
mingw32_variants=$(eval echo {,i{6,5,4,3}86-}mingw32) |
53 |
|
54 |
DESCRIPTION="Nullsoft Scriptable Install System" |
55 |
HOMEPAGE="http://nsis.sourceforge.net/" |
56 |
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2" |
57 |
|
58 |
LICENSE="as-is" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc ~x86" |
61 |
IUSE="bzip2 config-log zlib" |
62 |
|
63 |
# NSIS Menu uses wxwindows but it's all broken, so disable for now |
64 |
# wxwindows? ( x11-libs/wxGTK ) |
65 |
RDEPEND="bzip2? ( app-arch/bzip2 ) |
66 |
zlib? ( sys-libs/zlib )" |
67 |
DEPEND="${RDEPEND} |
68 |
>=dev-util/scons-0.96.93" |
69 |
|
70 |
S=${WORKDIR}/${P}-src |
71 |
|
72 |
mingw_CTARGET() { |
73 |
local i |
74 |
for i in ${mingw32_variants} ; do |
75 |
type -P ${i}-gcc > /dev/null && echo ${i} && return |
76 |
done |
77 |
} |
78 |
|
79 |
pkg_setup() { |
80 |
[[ -n $(mingw_CTARGET) ]] && return 0 |
81 |
|
82 |
local i |
83 |
eerror "Before you could emerge nsis, you need to install mingw32." |
84 |
eerror "Run the following command:" |
85 |
eerror " emerge crossdev" |
86 |
eerror "then run _one_ of the following commands:" |
87 |
for i in ${mingw32_variants} ; do |
88 |
eerror " crossdev ${i}" |
89 |
done |
90 |
die "mingw32 is needed" |
91 |
} |
92 |
|
93 |
get_additional_options() { |
94 |
echo \ |
95 |
PREFIX=/usr \ |
96 |
PREFIX_CONF=/etc \ |
97 |
PREFIX_DOC=/usr/share/doc/${PF} \ |
98 |
PREFIX_DEST=\"${D}\" \ |
99 |
VERSION=${PV} \ |
100 |
DEBUG=no \ |
101 |
STRIP=no |
102 |
echo \ |
103 |
SKIPSTUBS=\"$(use zlib || echo zlib) $(use bzip2 || echo bzip2)\" \ |
104 |
SKIPUTILS=\"NSIS Menu\" |
105 |
use config-log && echo NSIS_CONFIG_LOG=yes |
106 |
# remove the following line when nsis bug 1753070 will be fixed |
107 |
use amd64 && echo APPEND_CCFLAGS=-m32 APPEND_LINKFLAGS=-m32 |
108 |
} |
109 |
|
110 |
do_scons() { |
111 |
local cmd=$1 |
112 |
eval set -- $(get_additional_options) |
113 |
echo scons $(get_additional_options) ${cmd} |
114 |
scons "$@" ${cmd} |
115 |
} |
116 |
|
117 |
src_compile() { |
118 |
do_scons || die "scons failed" |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
do_scons install || die "scons failed" |
123 |
|
124 |
fperms -R go-w,a-x,a+X /usr/share/${PN}/ /usr/share/doc/${PF}/ /etc/nsisconf.nsh |
125 |
|
126 |
src_strip_win32 |
127 |
} |
128 |
|
129 |
src_strip_win32() { |
130 |
# need to strip win32 binaries ourselves ... should fold this |
131 |
# back in to prepstrip at some point |
132 |
local STRIP_PROG=$(mingw_CTARGET)-strip |
133 |
local STRIP_FLAGS="--strip-unneeded" |
134 |
|
135 |
echo |
136 |
echo "strip: ${STRIP_PROG} ${STRIP_FLAGS}" |
137 |
local FILE |
138 |
for FILE in $(find "${D}" -iregex '.*\.\(dll\|exe\)$') ; do |
139 |
echo " ${FILE#${D}}" |
140 |
${STRIP_PROG} ${STRIP_FLAGS} "${FILE}" |
141 |
done |
142 |
} |
143 |
|
144 |
|
145 |
|
146 |
-- |
147 |
gentoo-commits@l.g.o mailing list |