blob: c50d9b74b2a488da8b9b3c3fb880a1fc58c9df25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit autotools
DESCRIPTION="A flexible IRC bot scriptable in scheme"
HOMEPAGE="http://unknownlamer.org/code/bobot.html"
SRC_URI="https://savannah.nongnu.org/download/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="guile"
DEPEND="guile? ( dev-scheme/guile )"
RDEPEND="${DEPEND}"
HTML_DOCS=( documentation/index.html )
PATCHES=(
"${FILESDIR}"/${PN}-2.2.2-asneeded.patch
"${FILESDIR}"/${PN}-2.2.3-stdout.patch
"${FILESDIR}"/${PN}-2.2.3-fix-c++14.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--enable-crypt \
$(use_enable guile scripting)
}
src_install() {
default
docinto examples
dodoc -r examples/config examples/scripts
dosym bobot++.info /usr/share/info/bobotpp.info
}
pkg_postinst() {
elog "You can find a sample configuration file set in"
elog "${EPREFIX}/usr/share/doc/${PF}/example-config"
}
|