summaryrefslogtreecommitdiff
blob: 62ab9aa0914064e680cfc22ed78bb106c7c8ba7f (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/cutecom/cutecom-0.14.1.ebuild,v 1.2 2007/01/18 05:45:57 mrness Exp $

inherit eutils qt3

DESCRIPTION="CuteCom is a serial terminal, like minicom, written in qt"
HOMEPAGE="http://cutecom.sourceforge.net"
SRC_URI="http://cutecom.sourceforge.net/${P}.tar.gz"

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

DEPEND="$(qt_min_version 3.2)"
RDEPEND="${DEPEND}
	net-dialup/lrzsz"

src_compile() {
	addwrite "${QTDIR}/etc/settings"
	econf && emake || die "compile failed"

	local f
	for f in "${QTDIR}"/etc/settings/.qt_plugins*.lock; do
		rm -f "${f}"
	done
}

src_install() {
	dobin "cutecom"
	dodoc README Changelog README

	make_desktop_entry cutecom "CuteCom" openterm
}