diff options
-rw-r--r-- | games-board/glchess/ChangeLog | 10 | ||||
-rw-r--r-- | games-board/glchess/files/digest-glchess-1.0.1 | 3 | ||||
-rw-r--r-- | games-board/glchess/glchess-1.0.1.ebuild | 39 |
3 files changed, 50 insertions, 2 deletions
diff --git a/games-board/glchess/ChangeLog b/games-board/glchess/ChangeLog index 067193200a1b..61e1e81fc494 100644 --- a/games-board/glchess/ChangeLog +++ b/games-board/glchess/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-board/glchess -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/ChangeLog,v 1.10 2006/12/16 03:15:45 mr_bones_ Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/ChangeLog,v 1.11 2007/01/02 08:38:23 mr_bones_ Exp $ + +*glchess-1.0.1 (02 Jan 2007) + + 02 Jan 2007; Michael Sterrett <mr_bones_@gentoo.org> + +glchess-1.0.1.ebuild: + version bump *glchess-1.0 (16 Dec 2006) diff --git a/games-board/glchess/files/digest-glchess-1.0.1 b/games-board/glchess/files/digest-glchess-1.0.1 new file mode 100644 index 000000000000..9206a6580a44 --- /dev/null +++ b/games-board/glchess/files/digest-glchess-1.0.1 @@ -0,0 +1,3 @@ +MD5 a5416b7e587b141fd1a24f18a9d158ef glchess-1.0.1.tar.gz 225083 +RMD160 4010419df3c2d566e24663083c5abb2010aba090 glchess-1.0.1.tar.gz 225083 +SHA256 d85dbb1652e1ceac2e1f7fddbf8245c0921876892110dfdf5d2ad73a225aabff glchess-1.0.1.tar.gz 225083 diff --git a/games-board/glchess/glchess-1.0.1.ebuild b/games-board/glchess/glchess-1.0.1.ebuild new file mode 100644 index 000000000000..08e9ec6fc662 --- /dev/null +++ b/games-board/glchess/glchess-1.0.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/glchess/glchess-1.0.1.ebuild,v 1.1 2007/01/02 08:38:23 mr_bones_ Exp $ + +inherit python distutils games + +DESCRIPTION="A 3D OpenGL based chess game" +HOMEPAGE="http://glchess.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="nls" + +DEPEND="dev-python/pygtkglext + dev-python/imaging" + +DOCS="BUGS" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "/_DIR/s:/usr/share/games:${GAMES_DATADIR}:" \ + lib/glchess/gtkui/{dialogs,gtkui}.py \ + lib/glchess/scene/opengl/{builtin_models,new_models,opengl}.py \ + || die "sed failed" +} + +src_install() { + python_version + distutils_src_install --install-scripts=${GAMES_BINDIR} + if use nls ; then + emake DESTDIR="${D}" install || die "emake install failed" + fi + rm -f "${D}"usr/share/doc/${PF}/{MANIFEST.in,PKG-INFO}.gz + prepgamesdirs +} |