Gentoo Archives: gentoo-commits

From: "Nathan Phillip Brink (binki)" <binki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/epic4: epic4-2.10.1.ebuild ChangeLog
Date: Fri, 01 Jul 2011 02:54:52
Message-Id: 20110701025441.A5BDD2005C@flycatcher.gentoo.org
1 binki 11/07/01 02:54:41
2
3 Modified: ChangeLog
4 Added: epic4-2.10.1.ebuild
5 Log:
6 Bump to epic4-2.10.1, with gentoo-prefix support and EAPI=4 and some build fixes.
7
8 (Portage version: 2.2.0_alpha41-r1/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.89 net-irc/epic4/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/epic4/ChangeLog?rev=1.89&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/epic4/ChangeLog?rev=1.89&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/epic4/ChangeLog?r1=1.88&r2=1.89
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v
20 retrieving revision 1.88
21 retrieving revision 1.89
22 diff -u -r1.88 -r1.89
23 --- ChangeLog 18 Oct 2010 08:11:39 -0000 1.88
24 +++ ChangeLog 1 Jul 2011 02:54:41 -0000 1.89
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-irc/epic4
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v 1.88 2010/10/18 08:11:39 flameeyes Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v 1.89 2011/07/01 02:54:41 binki Exp $
31 +
32 +*epic4-2.10.1 (01 Jul 2011)
33 +
34 + 01 Jul 2011; Nathan Phillip Brink <binki@g.o> +epic4-2.10.1.ebuild,
35 + +files/epic4-2.10.1-make-recursion.patch, +files/epic4-2.10.1-perl.patch:
36 + Bump to epic4-2.10.1, with gentoo-prefix support and EAPI=4 and some build
37 + fixes.
38
39 18 Oct 2010; Diego E. Pettenò <flameeyes@g.o> epic4-2.10.ebuild:
40 Fix phases for EAPI=2 add quote around $D.
41
42
43
44 1.1 net-irc/epic4/epic4-2.10.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/epic4/epic4-2.10.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/epic4/epic4-2.10.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: epic4-2.10.1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/epic4-2.10.1.ebuild,v 1.1 2011/07/01 02:54:41 binki Exp $
54
55 EAPI=4
56
57 inherit autotools eutils flag-o-matic toolchain-funcs
58
59 HELP_V="20050315"
60
61 DESCRIPTION="Epic4 IRC Client"
62 HOMEPAGE="http://epicsol.org/"
63 SRC_URI="ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/${P}.tar.bz2
64 ftp://prbh.org/pub/epic/EPIC4-PRODUCTION/epic4-help-${HELP_V}.tar.gz
65 mirror://gentoo/epic4-local.bz2"
66
67 LICENSE="as-is"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos"
70 IUSE="ipv6 perl ssl"
71
72 DEPEND=">=sys-libs/ncurses-5.2
73 perl? ( dev-lang/perl )
74 ssl? ( >=dev-libs/openssl-0.9.5 )"
75 RDEPEND="${DEPEND}"
76
77 src_prepare() {
78 epatch "${FILESDIR}"/epic-defaultserver.patch \
79 "${FILESDIR}"/${P}-make-recursion.patch \
80 "${FILESDIR}"/${P}-perl.patch
81
82 eautoconf
83
84 rm -f "${WORKDIR}"/help/Makefile || die
85 find "${WORKDIR}"/help -type d -name CVS -print0 | xargs -0 rm -r
86 }
87
88 src_configure() {
89 replace-flags "-O?" "-O"
90
91 # copied from alt overlay
92 [[ ${CHOST} == *-interix* ]] && export ac_cv_func_getpgrp_void=yes
93
94 econf \
95 --libexecdir="${EPREFIX}"/usr/libexec/${PN} \
96 $(use_with ipv6) \
97 $(use_with perl) \
98 $(use_with ssl)
99 }
100
101 src_compile() {
102 emake CC="$(tc-getCC)"
103 }
104
105 src_install () {
106 einstall \
107 sharedir="${ED}"/usr/share \
108 libexecdir="${ED}"/usr/libexec/${PN}
109
110 dodoc BUG_FORM COPYRIGHT README KNOWNBUGS VOTES
111
112 cd "${S}"/doc || die
113 docinto doc
114 dodoc \
115 *.txt colors EPIC* IRCII_VERSIONS local_vars missing new-load \
116 nicknames outputhelp SILLINESS TS4
117
118 insinto /usr/share/epic/help
119 doins -r "${WORKDIR}"/help/*
120 }
121
122 pkg_postinst() {
123 if [ ! -f "${EROOT}"/usr/share/epic/script/local ]; then
124 elog "/usr/share/epic/script/local does not exist, I will now"
125 elog "create it. If you do not like the look/feel of this file, or"
126 elog "if you'd prefer to use your own script, simply remove this"
127 elog "file. If you want to prevent this file from being installed"
128 elog "in the future, simply create an empty file with this name."
129 cp "${WORKDIR}"/epic4-local "${EROOT}"/usr/share/epic/script/local
130 elog
131 elog "This provided local startup script adds a number of nifty"
132 elog "features to Epic including tab completion, a comprehensive set"
133 elog "of aliases, and channel-by-channel logging. To prevent"
134 elog "unintentional conflicts with your own scripting, if either the"
135 elog "~/.ircrc or ~/.epicrc script files exist, then the local script"
136 elog "is *not* run. If you like the script but want to make careful"
137 elog "additions (such as selecting your usual servers or setting your"
138 elog "nickname), simply copy /usr/share/epic/script/local to ~/.ircrc"
139 elog "and then add your additions to the copy."
140 fi
141
142 # Fix for bug 59075
143 chmod 755 "${EROOT}"/usr/share/epic/help
144 }