summaryrefslogtreecommitdiff
blob: eab3de7c714451df7b93ee7ce8434fdf3cacd3fb (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-2006 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.1 2006/12/10 12:32:20 jurek 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
}