blob: 0be918443e5a12a01477f7fab1f60aae288ed3d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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.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.pysol.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="virtual/python"
RDEPEND="virtual/python
>=games-board/pysol-sound-server-3.0
>=dev-lang/tk-8.0"
pkg_setup() {
python_tkinter_exists
}
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"
dobin pysol || die "dobin failed"
make prefix="${D}/usr" install-data || die "install-data failed"
insinto /usr/include/X11/pixmaps
doins data/pysol.xpm
doman pysol.6
dodoc NEWS README
}
|