summaryrefslogtreecommitdiff
blob: 9197a0a6d0582f62cb3cb8a76bfa4e7c47cb2960 (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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/linuxtrade/linuxtrade-3.65.ebuild,v 1.4 2005/01/01 14:57:07 weeve Exp $

inherit eutils

DESCRIPTION="real-time stock market tracker and news console"
HOMEPAGE="http://linuxtrade.rkkda.com/"
SRC_URI="mirror://debian/pool/main/l/${PN}/${P/-/_}.orig.tar.gz
	mirror://debian/pool/main/l/${PN}/${P/-/_}-5.diff.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~alpha ~ppc ~sparc"
IUSE=""

DEPEND="sys-libs/ncurses"

src_unpack() {
	unpack ${A}
	cd ${S} || die

	# This package is no longer open source so won't be releasing any
	# updated versions.  Might as well use the Debian patches in that
	# case.
	epatch ${DISTDIR}/${P/-/_}-5.diff.gz

	# Don't use reserved word "bool" as a variable
	epatch ${FILESDIR}/${PN}-3.65-bool.patch
}

src_install() {
	einstall || die

	# This package gets a little overeager installing desktop files.
	# Just keep the one in /usr/share/applications and the icon in
	# /usr/share/pixmaps
	rm -r ${D}/usr/share/{gnome,applnk,icons}
}