summaryrefslogtreecommitdiff
blob: 98624228f45a6da7d59a158ea97d72d2973f5638 (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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/licq-osd/licq-osd-1.3.2.2.ebuild,v 1.1 2006/10/25 18:33:52 voxus Exp $

inherit multilib

DESCRIPTION="On Screen Display for licq"
HOMEPAGE="http://sourceforge.net/projects/licq-osd"
SRC_URI="mirror://sourceforge/${PN}/osd_${PV}.tgz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="nls"
DEPEND=">=net-im/licq-1.3.0_pre
		>=x11-libs/xosd-2.2.2
		nls? ( sys-devel/gettext )"

S=${WORKDIR}/osd-${PV}

src_compile() {
	local myconf
	use nls || myconf="--disable-nls"
	myconf="${myconf} --with-licq-includes=/usr/include/licq"
	myconf="${myconf} --with-cvs"

	econf ${myconf} || die
	emake || die
}

src_install() {
	einstall || die

	dodoc README licq_osd.conf TODO AUTHORS

	cd ${D}/usr/$(get_libdir)
	mkdir licq
	mv licq_osd.{so,la} licq/
}