diff options
author | Tristan Heaven <nyhm@gentoo.org> | 2007-02-07 09:21:49 +0000 |
---|---|---|
committer | Tristan Heaven <nyhm@gentoo.org> | 2007-02-07 09:21:49 +0000 |
commit | 6a4d1651fad4e81fbd832ca79f62c37120f4d359 (patch) | |
tree | da32692bdbd28a093cf0a51b4f0f4eff81f73e8e /games-strategy | |
parent | added patch now too. thanks<analyzer> on #gentoo-bugs for bringing it to our ... (diff) | |
download | gentoo-2-6a4d1651fad4e81fbd832ca79f62c37120f4d359.tar.gz gentoo-2-6a4d1651fad4e81fbd832ca79f62c37120f4d359.tar.bz2 gentoo-2-6a4d1651fad4e81fbd832ca79f62c37120f4d359.zip |
Version bump, bug #134138
(Portage version: 2.1.2-r8)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/netpanzer/ChangeLog | 10 | ||||
-rw-r--r-- | games-strategy/netpanzer/files/digest-netpanzer-0.8.1 | 6 | ||||
-rw-r--r-- | games-strategy/netpanzer/files/netpanzer.rc | 4 | ||||
-rw-r--r-- | games-strategy/netpanzer/netpanzer-0.8.1.ebuild | 64 |
4 files changed, 80 insertions, 4 deletions
diff --git a/games-strategy/netpanzer/ChangeLog b/games-strategy/netpanzer/ChangeLog index cdc52ef32590..d1b33ff8cb3a 100644 --- a/games-strategy/netpanzer/ChangeLog +++ b/games-strategy/netpanzer/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/netpanzer -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v 1.21 2006/10/04 00:05:46 nyhm Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/ChangeLog,v 1.22 2007/02/07 09:21:49 nyhm Exp $ + +*netpanzer-0.8.1 (07 Feb 2007) + + 07 Feb 2007; Tristan Heaven <nyhm@gentoo.org> files/netpanzer.rc, + +netpanzer-0.8.1.ebuild: + Version bump, bug #134138 04 Oct 2006; Tristan Heaven <nyhm@gentoo.org> +files/netpanzer-0.8-gcc41.patch, netpanzer-0.8-r1.ebuild: diff --git a/games-strategy/netpanzer/files/digest-netpanzer-0.8.1 b/games-strategy/netpanzer/files/digest-netpanzer-0.8.1 new file mode 100644 index 000000000000..c47c424d6aba --- /dev/null +++ b/games-strategy/netpanzer/files/digest-netpanzer-0.8.1 @@ -0,0 +1,6 @@ +MD5 044afc7559d9783abbea8deaa33d7a73 netpanzer-0.8.1.tar.bz2 392603 +RMD160 082f74e593e1097af952b53c4b4bb8b6014b83bd netpanzer-0.8.1.tar.bz2 392603 +SHA256 9c6706142c2d39f0fb09a48c94d4c90069a8959cc5c30a98d8c10d03d0b2432d netpanzer-0.8.1.tar.bz2 392603 +MD5 d2dbd5a6c38a181fa3b6aa9a68c81d2f netpanzer-data-0.8.tar.bz2 10123751 +RMD160 a2746ba759b61a1ddc31847144e407674dc46900 netpanzer-data-0.8.tar.bz2 10123751 +SHA256 0ed4398f5e0a796422474fcc518934d74ceb056ca7ab624d8d239b749535277b netpanzer-data-0.8.tar.bz2 10123751 diff --git a/games-strategy/netpanzer/files/netpanzer.rc b/games-strategy/netpanzer/files/netpanzer.rc index 5e13e5ed698a..633290976fe1 100644 --- a/games-strategy/netpanzer/files/netpanzer.rc +++ b/games-strategy/netpanzer/files/netpanzer.rc @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/files/netpanzer.rc,v 1.1 2005/02/23 01:57:05 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/files/netpanzer.rc,v 1.2 2007/02/07 09:21:49 nyhm Exp $ depend() { need net diff --git a/games-strategy/netpanzer/netpanzer-0.8.1.ebuild b/games-strategy/netpanzer/netpanzer-0.8.1.ebuild new file mode 100644 index 000000000000..10275ef55d37 --- /dev/null +++ b/games-strategy/netpanzer/netpanzer-0.8.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/netpanzer/netpanzer-0.8.1.ebuild,v 1.1 2007/02/07 09:21:49 nyhm Exp $ + +inherit eutils games + +DATAVERSION="0.8" +DESCRIPTION="Fast-action multiplayer strategic network game" +HOMEPAGE="http://netpanzer.berlios.de/" +SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2 + mirror://berlios/${PN}/${PN}-data-${DATAVERSION}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="dedicated" + +RDEPEND="dedicated? ( app-misc/screen ) + media-libs/libsdl + media-libs/sdl-mixer + media-libs/sdl-image + dev-games/physfs" +DEPEND="${RDEPEND} + dev-util/jam" + +src_compile() { + egamesconf || die + jam -q || die "jam failed" + + cd "${WORKDIR}"/${PN}-data-${DATAVERSION} + egamesconf || die + jam -q || die "jam failed (on data package)" +} + +src_install() { + jam -sDESTDIR="${D}" -sappdocdir=/usr/share/doc/${PF} install \ + || die "jam install failed" + + cd "${WORKDIR}"/${PN}-data-${DATAVERSION} + jam -sDESTDIR="${D}" -sappdocdir=/usr/share/doc/${PF} install \ + || die "jam install failed (data package)" + + if use dedicated ; then + newinitd "${FILESDIR}"/${PN}.rc ${PN} || die "newinitd failed" + sed -i \ + -e "s:GAMES_USER_DED:${GAMES_USER_DED}:" \ + -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \ + "${D}"/etc/init.d/${PN} \ + || die "sed failed" + + insinto /etc + doins "${FILESDIR}"/${PN}-ded.ini || die "doins failed" + dogamesbin "${FILESDIR}"/${PN}-ded || die "dogamesbin failed" + sed -i \ + -e "s:GENTOO_DIR:${GAMES_BINDIR}:" \ + "${D}/${GAMES_BINDIR}"/${PN}-ded \ + || die "sed failed" + fi + + rm -rf "${D}/${GAMES_DATADIR}"/{applications,pixmaps} + doicon "${S}"/${PN}.png + make_desktop_entry ${PN} NetPanzer + prepgamesdirs +} |