diff options
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/pysol/Manifest | 14 | ||||
-rw-r--r-- | games-board/pysol/pysol-4.82.ebuild | 26 |
2 files changed, 23 insertions, 17 deletions
diff --git a/games-board/pysol/Manifest b/games-board/pysol/Manifest index f6afd83ec5bd..95f77726a1ce 100644 --- a/games-board/pysol/Manifest +++ b/games-board/pysol/Manifest @@ -1,4 +1,14 @@ -MD5 e2d558ab9e16f03098cfc8fca36c10bf ChangeLog 1140 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 -MD5 f26c8c375d6eebfadb337d62a3fccdca pysol-4.82.ebuild 1216 +MD5 2ed9f5b51fdbd06e6ebca139b3068076 pysol-4.82.ebuild 1009 +MD5 e2d558ab9e16f03098cfc8fca36c10bf ChangeLog 1140 MD5 64d3e8b76a0ed236cf4a0fdb4a3e4b50 files/digest-pysol-4.82 64 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCu1JXgIKl8Uu19MoRAg+zAKCDiu2alJDTpk8qVeDQPWaCb9aj9ACePoGD +0//k6CXOxxaOC0W3pRyxB40= +=me08 +-----END PGP SIGNATURE----- diff --git a/games-board/pysol/pysol-4.82.ebuild b/games-board/pysol/pysol-4.82.ebuild index 6bbd9cdc77bb..0be918443e5a 100644 --- a/games-board/pysol/pysol-4.82.ebuild +++ b/games-board/pysol/pysol-4.82.ebuild @@ -1,43 +1,39 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.82.ebuild,v 1.10 2005/06/15 18:31:16 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/pysol/pysol-4.82.ebuild,v 1.11 2005/06/24 00:22:30 vapier Exp $ + +inherit python DESCRIPTION="An exciting collection of more than 200 solitaire card games" -HOMEPAGE="http://www.oberhumer.com/opensource/pysol/" +HOMEPAGE="http://www.pysol.org/" SRC_URI="mirror://gentoo/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc amd64" +KEYWORDS="amd64 ppc x86" IUSE="" -DEPEND="virtual/python - >=sys-apps/sed-4" +DEPEND="virtual/python" RDEPEND="virtual/python >=games-board/pysol-sound-server-3.0 >=dev-lang/tk-8.0" pkg_setup() { - if ! python -c "import Tkinter" >/dev/null 2>&1 ; then - eerror "You need to recompile python with Tkinter support." - eerror "That means: USE='tcltk' emerge python" - echo - die "missing tkinter support with installed python" - fi + python_tkinter_exists } -src_install () { +src_install() { local prefix="/usr" local datadir="${prefix}/share" local pkgdatadir=${datadir}/${PN}/${PV} sed -i \ -e "s|@prefix@|${prefix}|" \ - -e "s|@pkgdatadir@|${pkgdatadir}|" pysol || \ - die "sed pysol failed" + -e "s|@pkgdatadir@|${pkgdatadir}|" \ + pysol || die "sed pysol failed" dobin pysol || die "dobin failed" - make prefix="${D}/usr" install-data + make prefix="${D}/usr" install-data || die "install-data failed" insinto /usr/include/X11/pixmaps doins data/pysol.xpm doman pysol.6 |