summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-05-22 03:09:16 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-05-22 03:09:16 +0000
commit42a8996241a8ee0a3b85b84a9351df7962b04d8b (patch)
tree102f84b70cff7bebb5c122fec560d1c10c1e45e8 /games-board/openyahtzee
parentRemove notice to install shorewall-perl/shell (diff)
downloadgentoo-2-42a8996241a8ee0a3b85b84a9351df7962b04d8b.tar.gz
gentoo-2-42a8996241a8ee0a3b85b84a9351df7962b04d8b.tar.bz2
gentoo-2-42a8996241a8ee0a3b85b84a9351df7962b04d8b.zip
Add ~x86 keyword
(Portage version: 2.1.2.7)
Diffstat (limited to 'games-board/openyahtzee')
-rw-r--r--games-board/openyahtzee/ChangeLog5
-rw-r--r--games-board/openyahtzee/openyahtzee-1.7.ebuild19
2 files changed, 19 insertions, 5 deletions
diff --git a/games-board/openyahtzee/ChangeLog b/games-board/openyahtzee/ChangeLog
index 0cb43618056a..e63f01e2f011 100644
--- a/games-board/openyahtzee/ChangeLog
+++ b/games-board/openyahtzee/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/openyahtzee
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/ChangeLog,v 1.1 2007/05/11 05:38:57 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/ChangeLog,v 1.2 2007/05/22 03:09:16 nyhm Exp $
+
+ 22 May 2007; Tristan Heaven <nyhm@gentoo.org> openyahtzee-1.7.ebuild:
+ Add ~x86 keyword
*openyahtzee-1.7 (11 May 2007)
diff --git a/games-board/openyahtzee/openyahtzee-1.7.ebuild b/games-board/openyahtzee/openyahtzee-1.7.ebuild
index 2501707a7cb4..28420f2ac1b5 100644
--- a/games-board/openyahtzee/openyahtzee-1.7.ebuild
+++ b/games-board/openyahtzee/openyahtzee-1.7.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/openyahtzee-1.7.ebuild,v 1.1 2007/05/11 05:38:57 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/openyahtzee-1.7.ebuild,v 1.2 2007/05/22 03:09:16 nyhm Exp $
-inherit eutils games
+inherit eutils wxwidgets games
MY_PN=OpenYahtzee
MY_P=${MY_PN}-${PV}
@@ -13,13 +13,24 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=">=x11-libs/wxGTK-2.6
=dev-db/sqlite-3*"
-S="${WORKDIR}/${MY_PN}"
+S=${WORKDIR}/${MY_PN}
+
+pkg_setup() {
+ games_pkg_setup
+ WX_GTK_VER=2.6 need-wxwidgets unicode
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i "s:wx-config:${WX_CONFIG}:" src/Makefile.in || die "sed failed"
+}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"