summaryrefslogtreecommitdiff
blob: 8fb64d826a9cedf5b2ecaddd07c374167363a3a2 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gaim-slashexec/gaim-slashexec-1.1_beta1.ebuild,v 1.2 2006/01/11 23:50:42 metalgod Exp $

inherit debug

DESCRIPTION="execute commands from within a Gaim conversation"
HOMEPAGE="http://guifications.sourceforge.net/SlashExec/"
SRC_URI="mirror://sourceforge/guifications/slashexec-1.1beta.tar.gz"

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

DEPEND="net-im/gaim"

S="${WORKDIR}/slashexec-1.1beta"

src_compile() {
	local myconf
	use debug && myconf="${myconf} --enable-debug"

	econf ${myconf} || die "Configuration failed"

	emake -j1 || die "Make failed"
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS ChangeLog INSTALL NEWS README VERSION
}