summaryrefslogtreecommitdiff
path: root/net-im/centerim/centerim-5.0.1-r2.ebuild
blob: 1b0105e0b4fd5861986a7cc70576347cfd627131 (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
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P="${PN}5-${PV/_}"

DESCRIPTION="Ncurses ICQ/Yahoo!/AIM/IRC/MSN/Jabber/GaduGadu/RSS/LiveJournal client"
HOMEPAGE="http://www.centerim.org/"
SRC_URI="http://www.centerim.org/download/cim5/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="debug nls"

DEPEND=">=sys-libs/ncurses-5.2:=
	>=net-im/pidgin-2.7.0
	>=dev-libs/glib-2.16.0
	>=dev-libs/libsigc++-2.2.0:2"
RDEPEND="${DEPEND}
	nls? ( sys-devel/gettext )"
BDEPEND="virtual/pkgconfig"

S="${WORKDIR}"/${MY_P}

src_configure() {
	CONFIG_SHELL="${BROOT}"/bin/bash econf \
		$(use_enable debug) \
		$(use_enable nls)
}

src_install() {
	emake DESTDIR="${D}" install

	find "${ED}" -name '*.la' -delete || die

	dodoc AUTHORS HACKING NEWS README TODO
}