/[gentoo-x86]/kde-base/knavalbattle/knavalbattle-4.9.2.ebuild
Gentoo

Contents of /kde-base/knavalbattle/knavalbattle-4.9.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Oct 2 18:11:59 2012 UTC (7 years, 11 months ago) by johu
Branch: MAIN
Version bump KDE SC 4.9.2

(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)

1 johu 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI=4
6    
7     if [[ ${PV} == *9999 ]]; then
8     eclass="kde4-base"
9     else
10     eclass="kde4-meta"
11     KMNAME="kdegames"
12     fi
13     KDE_HANDBOOK="optional"
14     inherit games-ggz ${eclass}
15    
16     DESCRIPTION="The KDE Battleship clone"
17     KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18     IUSE="debug"
19    
20     DEPEND="$(add_kdebase_dep libkdegames)"
21     RDEPEND="${DEPEND}"
22    
23     add_blocker kbattleship
24    
25     src_prepare() {
26     # cmake is doing this really weird
27     if [[ ${PV} == *9999 ]]; then
28     sed -i \
29     -e "s:register_ggz_module:#register_ggz_module:g" \
30     src/CMakeLists.txt || die "ggz removal failed"
31     else
32     sed -i \
33     -e "s:register_ggz_module:#register_ggz_module:g" \
34     "${PN}"/src/CMakeLists.txt || die "ggz removal failed"
35     fi
36    
37     ${eclass}_src_prepare
38     }

  ViewVC Help
Powered by ViewVC 1.1.20