summaryrefslogtreecommitdiff
blob: 7f62c79d8548388e2fb18f63ad7bd8b53c5b5cd1 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gaim-extprefs/gaim-extprefs-0.4-r1.ebuild,v 1.4 2005/07/19 20:06:09 herbs Exp $

inherit multilib eutils

DESCRIPTION="A plugin that takes advantage of existing gaim functionality to
provide preferences that are often desired but are not included in gaim."

HOMEPAGE="http://gaim-extprefs.sourceforge.net"

SRC_URI="mirror://sourceforge/gaim-extprefs/extendedprefs-${PV}.tar.gz"

LICENSE="GPL-2"

SLOT="0"

KEYWORDS="amd64 ~ppc ~sparc ~x86"

IUSE=""

RDEPEND=">=net-im/gaim-1.0.0"

DEPEND="${RDEPEND}
	>sys-devel/libtool-1.5.14"

S="${WORKDIR}/extendedprefs-${PV}"

src_unpack() {
	unpack ${A}

	cd ${S}
	epatch  ${FILESDIR}/${P}-64bitfix.patch

	sed -i -e "s:\$(PREFIX)/lib/:\$(PREFIX)/$(get_libdir)/:" \
		${S}/src/Makefile || die "sed failed"
}

src_compile() {
	#econf || die
	emake || die "emake failed"
}

src_install() {
	make PREFIX=${D}/usr install || die
}