Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55446 - games-strategy/wesnoth-0.7.11 ebuild
Summary: games-strategy/wesnoth-0.7.11 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-28 10:27 UTC by Fabien Renaud
Modified: 2004-06-29 00:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabien Renaud 2004-06-28 10:27:22 UTC
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-0.7.11.ebuild,v 1.2 2004/06/24 23:30:13 agriffis Exp $

inherit flag-o-matic gcc games

DESCRIPTION="A fantasy turn-based strategy game"
HOMEPAGE="http://www.wesnoth.org/"
SRC_URI="http://www.wesnoth.org/files/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc amd64"
IUSE="server editor tools gnome kde"

DEPEND=">=media-libs/libsdl-1.2.7
	>=media-libs/sdl-image-1.2
	>=media-libs/sdl-mixer-1.2
	>=media-libs/sdl-ttf-2.0
	media-libs/sdl-net
	virtual/x11"

src_compile() {
	[ "$(gcc-fullversion)" == "3.4.0" ] && filter-flags -ftracer
	egamesconf \
		--disable-dependency-tracking \
		$(use_enable server) \
		$(use_enable editor) \
		$(use_enable tools) \
		$(use_enable gnome) \
		$(use_enable kde) \
		|| die
	emake || die "emake failed"
}

src_install() {
	make DESTDIR="${D}" install || die "make install failed"
	mv "${D}${GAMES_DATADIR}/icons" "${D}/usr/share/"
	dodoc MANUAL changelog || die "dodoc failed"
	prepgamesdirs
}


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-06-28 16:52:07 UTC
1. This has already been version bumped in portage.
2. How about you wait until it at least hits freshmeat before filing a bug.
3. There's no need to attach an ebuild exactly like the one in portage.

Thanks.
Comment 2 Fabien Renaud 2004-06-29 00:22:41 UTC
I din't see any ebuild before I posted mine.
Sorry if I didn't do well everything.