/[gentoo-x86]/kde-base/kreversi/kreversi-4.8.5.ebuild
Gentoo

Contents of /kde-base/kreversi/kreversi-4.8.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Sep 3 12:20:39 2012 UTC (19 months, 1 week ago) by scarabeus
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable on ppc wrt bug#431892.

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/kreversi/kreversi-4.8.5.ebuild,v 1.3 2012/09/02 22:43:14 ago Exp $
4
5 EAPI=4
6
7 KDE_HANDBOOK="optional"
8 KMNAME="kdegames"
9 KDE_SELINUX_MODULE="games"
10 inherit games-ggz kde4-meta
11
12 DESCRIPTION="KDE Board Game"
13 KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
14 IUSE="debug"
15
16 src_prepare() {
17 # cmake is doing this really weird
18 sed -i \
19 -e "s:register_ggz_module:#register_ggz_module:g" \
20 ${PN}/CMakeLists.txt || die "ggz removal failed"
21
22 kde4-meta_src_prepare
23 }
24
25 src_install() {
26 kde4-meta_src_install
27 # and also we have to prepare the ggz dir
28 insinto "${GGZ_MODDIR}"
29 newins ${PN}/module.dsc ${P}.dsc
30 }
31
32 pkg_postinst() {
33 kde4-meta_pkg_postinst
34 games-ggz_pkg_postinst
35 }
36
37 pkg_postrm() {
38 kde4-meta_pkg_postrm
39 games-ggz_pkg_postrm
40 }

  ViewVC Help
Powered by ViewVC 1.1.20