summaryrefslogtreecommitdiff
blob: 59348e3e3233c62e82d4fea5a5dcbbee57164f9d (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
39
40
41
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-radio/xdx/xdx-1.2.ebuild,v 1.5 2004/06/24 23:48:04 agriffis Exp $

inherit eutils

DESCRIPTION="GTK2 DX-cluster client"
HOMEPAGE="http://www.qsl.net/pg4i/linux/xdx.html"
SRC_URI="http://www.qsl.net/pg4i/download/${P}.tar.gz"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~ppc"
IUSE=""

RDEPEND="virtual/glibc
	virtual/x11
	>=x11-libs/gtk+-2.2.4-r1"

DEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.12.0"

src_compile() {
	econf || die "configure failed"
	emake || die "emake failed"
}

src_install() {
	einstall
	dodoc README AUTHORS ChangeLog
	doman xdx.1
	make_desktop_entry xdx Xdx /usr/share/xdx/pixmaps/xdx.xpm HamRadio
}

pkg_postinst() {
	echo
	einfo "To use the rig control feature of xdx, install"
	einfo "media-libs/hamlib and enable hamlib in the"
	einfo "Preferences dialog."
	echo
}