diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-10-27 02:33:47 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-10-27 02:33:47 +0000 |
commit | 6c4b8f4cdd8f24430f834e7b5173c91bef345c17 (patch) | |
tree | a81d90ea585aa2470b69fb111fe5be2cac2dd705 /games-strategy/warzone2100/warzone2100-2.3.9.ebuild | |
parent | Version bump. (diff) | |
download | gentoo-2-6c4b8f4cdd8f24430f834e7b5173c91bef345c17.tar.gz gentoo-2-6c4b8f4cdd8f24430f834e7b5173c91bef345c17.tar.bz2 gentoo-2-6c4b8f4cdd8f24430f834e7b5173c91bef345c17.zip |
version bump; drop ppc to ~
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-strategy/warzone2100/warzone2100-2.3.9.ebuild')
-rw-r--r-- | games-strategy/warzone2100/warzone2100-2.3.9.ebuild | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/games-strategy/warzone2100/warzone2100-2.3.9.ebuild b/games-strategy/warzone2100/warzone2100-2.3.9.ebuild new file mode 100644 index 000000000000..53815d32bdf3 --- /dev/null +++ b/games-strategy/warzone2100/warzone2100-2.3.9.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/warzone2100/warzone2100-2.3.9.ebuild,v 1.1 2011/10/27 02:33:47 mr_bones_ Exp $ + +EAPI=2 +inherit autotools versionator games + +MY_PV=$(get_version_component_range -2) +VIDEOS_PV=2.2 +VIDEOS_P=${PN}-videos-${VIDEOS_PV}.wz +DESCRIPTION="3D real-time strategy game" +HOMEPAGE="http://wz2100.net/" +SRC_URI="mirror://sourceforge/warzone2100/${P}.tar.gz + videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/${VIDEOS_PV}/high-quality-en/sequences.wz -> ${VIDEOS_P} )" + +LICENSE="GPL-2 CCPL-Attribution-ShareAlike-3.0 public-domain" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +# upstream requested debug support +IUSE="debug nls videos" + +RDEPEND="dev-db/sqlite:3 + >=dev-games/physfs-2[zip] + dev-libs/popt + media-libs/libogg + media-libs/libpng + media-libs/libsdl[opengl,video] + media-libs/libtheora + media-libs/libvorbis + media-libs/openal + media-libs/sdl-net + media-libs/quesoglc + virtual/glu + virtual/opengl + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + app-arch/zip + dev-util/pkgconfig + nls? ( sys-devel/gettext )" +RDEPEND="${RDEPEND} + media-fonts/dejavu" + +src_prepare() { + eautoreconf +} + +src_configure() { + egamesconf \ + --disable-motif \ + --disable-dependency-tracking \ + --docdir=/usr/share/doc/${PF} \ + --localedir=/usr/share/locale \ + --with-distributor="Gentoo ${PF}" \ + --with-icondir=/usr/share/pixmaps \ + --with-applicationdir=/usr/share/applications \ + $(use_enable debug debug relaxed) \ + $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" install || die + rm -f "${D}"/usr/share/doc/${PF}/COPYING* + if use videos ; then + insinto "${GAMES_DATADIR}"/${PN} + newins "${DISTDIR}"/${VIDEOS_P} sequences.wz || die + fi + doman doc/warzone2100.6 + prepgamesdirs +} |