/[gentoo-x86]/games-strategy/megaglest-data/megaglest-data-3.7.1-r1.ebuild
Gentoo

Contents of /games-strategy/megaglest-data/megaglest-data-3.7.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Dec 28 11:28:27 2012 UTC (18 months, 2 weeks ago) by ago
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #448546

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-strategy/megaglest-data/megaglest-data-3.7.1-r1.ebuild,v 1.2 2012/12/28 11:27:27 ago Exp $
4
5 EAPI=4
6 inherit cmake-utils eutils games
7
8 MY_PN="megaglest"
9 DESCRIPTION="Data files for the cross-platform 3D realtime strategy game MegaGlest"
10 HOMEPAGE="http://www.megaglest.org/"
11 SRC_URI="mirror://sourceforge/${MY_PN}/${P}.tar.xz"
12
13 LICENSE="CCPL-Attribution-ShareAlike-3.0"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="doc"
17
18 RDEPEND="~games-strategy/megaglest-${PV}"
19
20 DOCS=( docs/AUTHORS.data.txt docs/CHANGELOG.txt docs/README.txt )
21
22 S=${WORKDIR}/${MY_PN}-${PV}
23
24 src_prepare() {
25 epatch "${FILESDIR}"/${P}-dutch.patch
26 }
27
28 src_configure() {
29 local mycmakeargs=(
30 -DMEGAGLEST_BIN_INSTALL_PATH="${GAMES_BINDIR}"
31 -DMEGAGLEST_DATA_INSTALL_PATH="${GAMES_DATADIR}/${MY_PN}"
32 -DMEGAGLEST_ICON_INSTALL_PATH="/usr/share/pixmaps"
33 )
34 cmake-utils_src_configure
35 }
36
37 src_compile() {
38 cmake-utils_src_compile
39 }
40
41 src_install() {
42 use doc && HTML_DOCS="docs/glest_factions/"
43
44 cmake-utils_src_install
45
46 prepgamesdirs
47
48 }

  ViewVC Help
Powered by ViewVC 1.1.20