/[gentoo-x86]/net-irc/eiwic/eiwic-1.1.4.ebuild
Gentoo

Contents of /net-irc/eiwic/eiwic-1.1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Apr 6 18:58:42 2012 UTC (2 years, 5 months ago) by ssuominen
Branch: MAIN
Changes since 1.5: +20 -28 lines
Remove USE="rss" (and export ac_cv_lib_raptor_raptor_init=no) in order to remove old SLOT of media-libs/raptor wrt #409417

(Portage version: 2.2.0_alpha99/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-irc/eiwic/eiwic-1.1.4.ebuild,v 1.5 2011/05/28 07:59:47 phajdan.jr Exp $
4
5 EAPI=4
6 inherit autotools eutils multilib
7
8 DESCRIPTION="A modular IRC bot written in C"
9 HOMEPAGE="https://github.com/lordi/Eiwic"
10 SRC_URI="mirror://gentoo/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="debug doc ipv6"
16
17 DOCS="AUTHORS ChangeLog README NEWS TODO sample.conf"
18
19 src_prepare() {
20 epatch "${FILESDIR}"/${PN}-1.1.3-ldflags.patch
21
22 sed -i \
23 -e "/^set MODULE_PATH/s:modules:/usr/$(get_libdir)/eiwic:" \
24 -e "/^load MODULE/s:$:.so:" \
25 sample.conf || die
26
27 eautoreconf
28 }
29
30 src_configure() {
31 export ac_cv_lib_raptor_raptor_init=no #409417
32
33 econf \
34 $(use_enable debug vv-debug) \
35 $(use_enable ipv6)
36 }
37
38 src_install() {
39 default
40 use doc && dohtml doc/*
41 }
42
43 pkg_postinst() {
44 elog "You need a configuration file to run eiwic. A sample configuration"
45 elog "was installed to /usr/share/doc/${PF}"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20