Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/epic4: ChangeLog epic4-2.10.ebuild
Date: Fri, 02 May 2008 15:59:26
Message-Id: E1JrxfP-0004yd-Lx@stork.gentoo.org
1 armin76 08/05/02 15:59:23
2
3 Modified: ChangeLog
4 Added: epic4-2.10.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.5_rc6)
8
9 Revision Changes Path
10 1.82 net-irc/epic4/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/epic4/ChangeLog?rev=1.82&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/epic4/ChangeLog?rev=1.82&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/epic4/ChangeLog?r1=1.81&r2=1.82
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v
19 retrieving revision 1.81
20 retrieving revision 1.82
21 diff -u -r1.81 -r1.82
22 --- ChangeLog 10 Nov 2007 16:00:40 -0000 1.81
23 +++ ChangeLog 2 May 2008 15:59:23 -0000 1.82
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-irc/epic4
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v 1.81 2007/11/10 16:00:40 armin76 Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-irc/epic4/ChangeLog,v 1.82 2008/05/02 15:59:23 armin76 Exp $
30 +
31 +*epic4-2.10 (02 May 2008)
32 +
33 + 02 May 2008; Raúl Porcel <armin76@g.o> +epic4-2.10.ebuild:
34 + Version bump
35
36 10 Nov 2007; Raúl Porcel <armin76@g.o> -epic4-2.6.ebuild:
37 old
38
39
40
41 1.1 net-irc/epic4/epic4-2.10.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/epic4/epic4-2.10.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/epic4/epic4-2.10.ebuild?rev=1.1&content-type=text/plain
45
46 Index: epic4-2.10.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/net-irc/epic4/epic4-2.10.ebuild,v 1.1 2008/05/02 15:59:23 armin76 Exp $
51
52 inherit flag-o-matic eutils toolchain-funcs
53
54 HELP_V="20050315"
55
56 DESCRIPTION="Epic4 IRC Client"
57 HOMEPAGE="http://epicsol.org/"
58 SRC_URI="ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/${P}.tar.bz2
59 ftp://prbh.org/pub/epic/EPIC4-PRODUCTION/epic4-help-${HELP_V}.tar.gz
60 mirror://gentoo/epic4-local.bz2"
61
62 LICENSE="as-is"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
65 IUSE="ipv6 perl ssl"
66
67 DEPEND=">=sys-libs/ncurses-5.2
68 perl? ( >=dev-lang/perl-5.6.1 )
69 ssl? ( >=dev-libs/openssl-0.9.5 )"
70
71 pkg_setup() {
72 if use perl && built_with_use dev-lang/perl ithreads
73 then
74 error "You need perl compiled with USE=\"-ithreads\" to be able to compile epic4."
75 die "perl with USE=\"-ithreads\" needed"
76 fi
77 }
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82
83 epatch "${FILESDIR}"/epic-defaultserver.patch
84
85 rm -f "${WORKDIR}"/help/Makefile
86 find "${WORKDIR}"/help -type d -name CVS -print0 | xargs -0 rm -r
87 }
88
89 src_compile() {
90 replace-flags "-O?" "-O"
91
92 econf \
93 --libexecdir=/usr/lib/misc \
94 $(use_with ipv6) \
95 $(use_with perl) \
96 $(use_with ssl) \
97 || die "econf failed"
98 emake CC="$(tc-getCC)" || die "make failed"
99 }
100
101 src_install () {
102 einstall \
103 sharedir=${D}/usr/share \
104 libexecdir=${D}/usr/lib/misc || die "einstall failed"
105
106 dodoc BUG_FORM COPYRIGHT README KNOWNBUGS VOTES
107
108 cd "${S}"/doc
109 docinto doc
110 dodoc \
111 *.txt colors EPIC* IRCII_VERSIONS local_vars missing new-load \
112 nicknames outputhelp SILLINESS TS4
113
114 insinto /usr/share/epic/help
115 doins -r "${WORKDIR}"/help/* || die "doins failed"
116 }
117
118 pkg_postinst() {
119 if [ ! -f "${ROOT}"/usr/share/epic/script/local ]
120 then
121 elog "/usr/share/epic/script/local does not exist, I will now"
122 elog "create it. If you do not like the look/feel of this file, or"
123 elog "if you'd prefer to use your own script, simply remove this"
124 elog "file. If you want to prevent this file from being installed"
125 elog "in the future, simply create an empty file with this name."
126 cp "${WORKDIR}"/epic4-local "${ROOT}"/usr/share/epic/script/local
127 elog
128 elog "This provided local startup script adds a number of nifty"
129 elog "features to Epic including tab completion, a comprehensive set"
130 elog "of aliases, and channel-by-channel logging. To prevent"
131 elog "unintentional conflicts with your own scripting, if either the"
132 elog "~/.ircrc or ~/.epicrc script files exist, then the local script"
133 elog "is *not* run. If you like the script but want to make careful"
134 elog "additions (such as selecting your usual servers or setting your"
135 elog "nickname), simply copy /usr/share/epic/script/local to ~/.ircrc"
136 elog "and then add your additions to the copy."
137 fi
138
139 # Fix for bug 59075
140 chmod 755 "${ROOT}"/usr/share/epic/help
141 }
142
143
144
145 --
146 gentoo-commits@l.g.o mailing list