/[gentoo-x86]/kde-base/kweather/kweather-4.0.3.ebuild
Gentoo

Contents of /kde-base/kweather/kweather-4.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jun 7 14:09:11 2008 UTC (12 years, 1 month ago) by keytoaster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Removed old versions.
(Portage version: 2.2_pre7/cvs/Linux 2.6.25-gentoo-r4 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/kweather/kweather-4.0.3.ebuild,v 1.1 2008/04/03 21:38:04 philantrop Exp $
4
5 EAPI="1"
6
7 KMNAME=kdetoys
8 inherit kde4-meta
9
10 DESCRIPTION="KDE weather status display"
11 KEYWORDS="~amd64 ~x86"
12 IUSE="debug htmlhandbook"
13
14 DEPEND=">=kde-base/plasma-${PV}:${SLOT}"
15 RDEPEND="${DEPEND}"
16
17 # Tests segfault. Last checked in 4.0.3.
18 RESTRICT="test"
19
20 src_compile() {
21 mycmakeargs="${mycmakeargs}
22 -DWITH_Plasma=ON"
23
24 kde4-base_src_compile
25 }
26
27 src_test() {
28 pushd "${WORKDIR}"/${PN}_build/${PN}/tests > /dev/null
29 # 'metar_parser_test' is also available but fails and I'm not sure why
30 emake stationdatabase_test sun_test || \
31 die "Failed to build tests."
32 for t in *.shell; do
33 ./"$t" || die "Test '$t' failed."
34 done
35 popd > /dev/null
36 }

  ViewVC Help
Powered by ViewVC 1.1.20