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

Contents of /games-strategy/megaglest-data/megaglest-data-3.6.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Aug 21 12:44:57 2012 UTC (2 years, 3 months ago) by hasufell
Branch: MAIN
Changes since 1.1: +2 -2 lines
fix SRC_URI wrt #432148

(Portage version: 2.2.0_alpha121/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/games-strategy/megaglest-data/megaglest-data-3.6.0.3.ebuild,v 1.1 2012/08/19 21:10:13 hasufell Exp $
4
5 EAPI=4
6 inherit cmake-utils 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_configure() {
25 local mycmakeargs=(
26 -DMEGAGLEST_BIN_INSTALL_PATH="${GAMES_BINDIR}"
27 -DMEGAGLEST_DATA_INSTALL_PATH="${GAMES_DATADIR}/${MY_PN}"
28 -DMEGAGLEST_ICON_INSTALL_PATH="/usr/share/pixmaps"
29 )
30 cmake-utils_src_configure
31 }
32
33 src_compile() {
34 cmake-utils_src_compile
35 }
36
37 src_install() {
38 use doc && HTML_DOCS="docs/glest_factions/"
39
40 cmake-utils_src_install
41
42 prepgamesdirs
43
44 }

  ViewVC Help
Powered by ViewVC 1.1.20