summaryrefslogtreecommitdiff
blob: ca151ff4d8e5f1f809b54e8b527a2caa5ebd5a73 (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-2006 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.4 2006/11/23 20:32:51 vivo 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? ( virtual/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"
}