summaryrefslogtreecommitdiff
blob: 57e05ce02a0a06093c5f31088c11b2a8346f3965 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbweather/bbweather-0.6.2.ebuild,v 1.10 2011/04/16 17:51:00 ulm Exp $

DESCRIPTION="blackbox weather monitor"
HOMEPAGE="http://www.netmeister.org/apps/bbweather/"
SRC_URI="http://www.netmeister.org/apps/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc alpha hppa"
IUSE=""

DEPEND=">=net-misc/wget-1.7
	>=dev-lang/perl-5.6.1"
RDEPEND="${DEPEND}
	!<=x11-plugins/gkrellweather-2.0.7-r1"

src_install () {
	make DESTDIR="${D}" install || die "make install failed"
	rm -rf "${D}"/usr/share/doc
	dodoc README AUTHORS INSTALL ChangeLog NEWS TODO data/README.bbweather
	dohtml -r doc

	# since multiple bbtools packages provide this file, install
	# it in /usr/share/doc/${PF}
	mv "${D}"/usr/share/bbtools/bbtoolsrc.in \
		"${D}"/usr/share/doc/${PF}/bbtoolsrc.example

}