summaryrefslogtreecommitdiff
blob: 1d94c21156a4651b3f8b55d4c7fceab9ea3673bd (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
36
37
38
# Copyright 1999-2008 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.5 2008/07/27 21:58:55 carlo Exp $

EAPI=1

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="x11-libs/qt:3"
RDEPEND="${DEPEND}
	net-dialup/lrzsz"

src_compile() {
	eqmake3 || die "eqmake3 failed"
	emake || die "emake failed"

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

src_install() {
	dobin cutecom || die "failed to install cutecom bin"
	dodoc README Changelog README

	make_desktop_entry cutecom "CuteCom" openterm
}