Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172298 - games-strategy/boswars (new ebuild)
Summary: games-strategy/boswars (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://www.boswars.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-26 12:54 UTC by Tomas Kovacik
Modified: 2007-08-04 22:57 UTC (History)
3 users (show)

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


Attachments
boswars-2.3.ebuild (boswars-2.3.ebuild,1.26 KB, text/plain)
2007-03-26 14:39 UTC, Paul Bredbury
Details
boswars-2.3.ebuild (boswars-2.3.ebuild,1.41 KB, text/plain)
2007-03-27 13:37 UTC, Paul Bredbury
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Kovacik 2007-03-26 12:54:33 UTC
New ebuild for game boswars (http://www.boswars.org/) - renamed project  Invasion - Battle of Survival (game-strategy/bos).
No need of "external" RTS engine STRATAGUS since 2.3 (To speed up development, the Stratagus engine has been merged into the BOS project.)

Reproducible: Always
Comment 1 Tomas Kovacik 2007-03-26 12:55:19 UTC
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: games-strategy/boswars/boswars-2.3.ebuild,v 1.0 2007/02/03 14:39:00 nail Exp $

inherit eutils versionator games

DESCRIPTION="Bos Wars is a futuristic real-time strategy game"
HOMEPAGE="http://www.boswars.org/"
SRC_URI="http://www.boswars.org/releases/${P}-src.tar.gz
    mirror://gentoo/bos.png"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND="dev-util/scons"

src_unpack() {
    unpack ${A/bos.png}
}

src_compile() {
    cd ${S}-src/
    scons
}

src_install() {
    local dir="${GAMES_DATADIR}/${PN}"
    dodir "${dir}"
    cd ${S}-src/
    for fordir in campaigns graphics languages maps scripts sounds units video; do
        cp -r ${fordir} ${D}/${dir}/${fordir};
    done
    #cp -r campaigns ${D}/${dir}/campaigns
    #cp -r graphics ${D}/${dir}/graphics
    #cp -r languages ${D}/${dir}/languages
    #cp -r maps ${D}/${dir}/maps
    #cp -r scripts ${D}/${dir}/scripts
    #cp -r sounds ${D}/${dir}/sounds
    #cp -r units ${D}/${dir}/units
    #cp -r video ${D}/${dir}/video
    cp boswars ${D}/${dir}
    games_make_wrapper boswars "/usr/share/games/boswars/boswars -d \"${dir}/\"" "${GAMES_BINDIR}"
    prepgamesdirs
    dodoc CHANGELOG README.txt LICENSE.txt COPYRIGHT.txt doc/*
    docinto scripts
    dodoc doc/scripts/*.html
    doicon "${DISTDIR}"/bos.png
    make_desktop_entry ${PN} ""
}
Comment 2 Tomas Kovacik 2007-03-26 12:57:42 UTC
sorry wrong version :o)

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: games-strategy/boswars/boswars-2.3.ebuild,v 1.0 2007/02/03 14:39:00 nail Exp $

inherit eutils versionator games

DESCRIPTION="Bos Wars is a futuristic real-time strategy game"
HOMEPAGE="http://www.boswars.org/"
SRC_URI="http://www.boswars.org/releases/${P}-src.tar.gz
    mirror://gentoo/bos.png"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND="dev-util/scons"

src_unpack() {
    unpack ${A/bos.png}
}

src_compile() {
    cd ${S}-src/
    scons
}

src_install() {
    local dir="${GAMES_DATADIR}/${PN}"
    dodir "${dir}"
    cd ${S}-src/
    for fordir in campaigns graphics languages maps scripts sounds units video; do
        cp -r ${fordir} ${D}/${dir}/${fordir};
    done
    cp boswars ${D}/${dir}
    games_make_wrapper boswars "/usr/share/games/boswars/boswars -d \"${dir}/\"" "${GAMES_BINDIR}"
    prepgamesdirs
    dodoc CHANGELOG README.txt LICENSE.txt COPYRIGHT.txt doc/*
    docinto scripts
    dodoc doc/scripts/*.html
    doicon "${DISTDIR}"/bos.png
    make_desktop_entry ${PN} ""
}
Comment 3 Tomas Kovacik 2007-03-26 13:48:45 UTC
ouu sorry, no full list of RDEPEND/DEPEND pakages, I just fix it, bud must test it, stay tuned :o)

PS: sorry for spam :o)
Comment 4 Paul Bredbury 2007-03-26 14:39:49 UTC
Created attachment 114491 [details]
boswars-2.3.ebuild

Tidied ebuild.
Comment 5 Paul Bredbury 2007-03-27 13:37:40 UTC
Created attachment 114617 [details]
boswars-2.3.ebuild

Allows recognition of dev-lang/lua-5.1.1-r2
Comment 6 Paul Bredbury 2007-03-27 13:49:39 UTC
This game used to be games-strategy/bos. From http://www.boswars.org/

"Invasion - Battle of Survival has been renamed to Bos Wars.
To speed up development, the Stratagus engine has been merged into the BOS project.
This version also supports Lua 5.1."
Comment 7 Tomas Kovacik 2007-03-27 14:53:33 UTC
renamed game -> renamed ebuild, it's make sense to me, isn't?
Comment 8 Tupone Alfredo gentoo-dev 2007-08-04 22:57:09 UTC
Now in portage