From 120f276bcbb3f7a9bf864754ce6e678e6aa39a38 Mon Sep 17 00:00:00 2001 From: "robert.zhangle" Date: Thu, 16 Aug 2007 10:34:06 +0000 Subject: [PATCH] add othello-0.2.1 --- games-board/othello/Manifest | 8 +++++ .../othello/files/digest-othello-0.2.1 | 3 ++ games-board/othello/othello-0.2.1.ebuild | 32 +++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 games-board/othello/files/digest-othello-0.2.1 create mode 100644 games-board/othello/othello-0.2.1.ebuild diff --git a/games-board/othello/Manifest b/games-board/othello/Manifest index 2bf9dd348..3a39fc31a 100644 --- a/games-board/othello/Manifest +++ b/games-board/othello/Manifest @@ -1,8 +1,16 @@ DIST othello-0.2.0.tar.bz2 652473 RMD160 d9338a48a9f358d644728bb3a98691536dbf5a48 SHA1 4cf873ef8356be3626dea29d3cfa19d40921b0b8 SHA256 decb5e2678e53f7fa067479d8703fe23b0666b0c6cebc545fca67ab374caa273 +DIST othello-0.2.1.tar.bz2 659942 RMD160 0df13ed0308561262e8a0635142ef9d367501e17 SHA1 f411b56500b693c8c0d9d29dcc4d9b5267ca8618 SHA256 477a057bd45bfae5671453fdc847bf092e35776e44927220ca345f5652ebfded EBUILD othello-0.2.0.ebuild 755 RMD160 52c93a40253fc29e1cf0705a4baec19ed0136098 SHA1 93b96e11735549cada93d3da444cd948520ecb09 SHA256 ce8250f8131e662bb5fc7f94488a3a63fb5bd6c4bdc32d1e6846c5e276577ec7 MD5 80846f4f4fdc5965c55d613e4047f46b othello-0.2.0.ebuild 755 RMD160 52c93a40253fc29e1cf0705a4baec19ed0136098 othello-0.2.0.ebuild 755 SHA256 ce8250f8131e662bb5fc7f94488a3a63fb5bd6c4bdc32d1e6846c5e276577ec7 othello-0.2.0.ebuild 755 +EBUILD othello-0.2.1.ebuild 745 RMD160 0df35e1bd4a8e74b2bdfa110343e8fdabf903721 SHA1 554da9abe1d23d2967c98c685546a8171cc76849 SHA256 a87a7eec465091b64ebbe19450b639ab83ff7aea891d58ea3a79eafc2af10b6b +MD5 55addb2014a40774006b3670fa5676b3 othello-0.2.1.ebuild 745 +RMD160 0df35e1bd4a8e74b2bdfa110343e8fdabf903721 othello-0.2.1.ebuild 745 +SHA256 a87a7eec465091b64ebbe19450b639ab83ff7aea891d58ea3a79eafc2af10b6b othello-0.2.1.ebuild 745 MD5 7a23a90e699845a9cbfb10ddadc3e519 files/digest-othello-0.2.0 244 RMD160 5296fefbf566e509850a4f9b270719911289f9fa files/digest-othello-0.2.0 244 SHA256 d125361d1e9c79b6f2b623b034d84918a2d12bf3c3335c73154000a1f9cef488 files/digest-othello-0.2.0 244 +MD5 6d62d8c52f45bc91dbc167fc4690333c files/digest-othello-0.2.1 244 +RMD160 1e3a094f1cb8b0d5a64dfd21807ed62f2c059b37 files/digest-othello-0.2.1 244 +SHA256 b12457615b42151c21bc71625d7681f0dcb664a554da3db62dd5c78b67cc0447 files/digest-othello-0.2.1 244 diff --git a/games-board/othello/files/digest-othello-0.2.1 b/games-board/othello/files/digest-othello-0.2.1 new file mode 100644 index 000000000..e3d5a4d49 --- /dev/null +++ b/games-board/othello/files/digest-othello-0.2.1 @@ -0,0 +1,3 @@ +MD5 50ba97451d7936e4329897b94df7bc3a othello-0.2.1.tar.bz2 659942 +RMD160 0df13ed0308561262e8a0635142ef9d367501e17 othello-0.2.1.tar.bz2 659942 +SHA256 477a057bd45bfae5671453fdc847bf092e35776e44927220ca345f5652ebfded othello-0.2.1.tar.bz2 659942 diff --git a/games-board/othello/othello-0.2.1.ebuild b/games-board/othello/othello-0.2.1.ebuild new file mode 100644 index 000000000..08afaf8b5 --- /dev/null +++ b/games-board/othello/othello-0.2.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit games + +DESCRIPTION="Othello is a classic strategy game, also known as Reversi" +HOMEPAGE="http://othello-game.sourceforge.net" +SRC_URI="mirror://sourceforge/othello-game/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" +RESTRICT="nomirror" + +DEPEND="dev-libs/boost + >=x11-libs/wxGTK-2.6" +RDEPEND="${DEPEND}" + +pkg_setup() { + + if has_version =dev-libs/boost-1.33* && ! built_with_use dev-libs/boost threads; then + einfo "Please re-emerge dev-libs/boost with the threads USE flag set" + die "boost needs the threads flag set" + fi + +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed" +}