summaryrefslogtreecommitdiff
blob: 496b313cb721780441390508d8ff4740347e24dd (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/xlc/xlc-1.0.6.ebuild,v 1.2 2005/02/12 10:20:25 mrness Exp $

DESCRIPTION="GTK client for LineControl server"
HOMEPAGE="http://linecontrol.sourceforge.net"
SRC_URI="mirror://sourceforge/linecontrol/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="mysql"

DEPEND=">=x11-libs/gtk+-1.2
	mysql? ( dev-db/mysql )"

src_compile() {
	econf `use_enable mysql` || die "could not configure"

	#Comment silly CFLAGS
	sed -i -e 's:^CFLAGS = .*:#&:' src/Makefile

	emake || die "emake failed"
}

src_install() {
	einstall || die "einstall failed"
}