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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Sep 3 12:20:17 2012 UTC (2 years, 1 month 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/ksquares/ksquares-4.8.5.ebuild,v 1.3 2012/09/02 22:50:50 ago Exp $
4
5 EAPI=4
6
7 KDE_HANDBOOK="optional"
8 KMNAME="kdegames"
9 inherit games-ggz kde4-meta
10
11 DESCRIPTION="KSquares is an implementation of the game squares for KDE4"
12 KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
13 IUSE="debug"
14
15 src_prepare() {
16 # cmake is doing this really weird
17 sed -i \
18 -e "s:register_ggz_module:#register_ggz_module:g" \
19 ${PN}/src/CMakeLists.txt || die "ggz removal failed"
20
21 kde4-meta_src_prepare
22 }
23
24 src_install() {
25 kde4-meta_src_install
26 # and also we have to prepare the ggz dir
27 insinto "${GGZ_MODDIR}"
28 newins ${PN}/src/module.dsc ${P}.dsc
29 }
30
31 pkg_postinst() {
32 kde4-meta_pkg_postinst
33 games-ggz_pkg_postinst
34 }
35
36 pkg_postrm() {
37 kde4-meta_pkg_postrm
38 games-ggz_pkg_postrm
39 }

  ViewVC Help
Powered by ViewVC 1.1.20