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