Lines 9-17
Link Here
|
9 |
DESCRIPTION="a free chess database application" |
9 |
DESCRIPTION="a free chess database application" |
10 |
HOMEPAGE="http://scid.sourceforge.net/" |
10 |
HOMEPAGE="http://scid.sourceforge.net/" |
11 |
SRC_URI="mirror://sourceforge/scid/${P}.tar.bz2 |
11 |
SRC_URI="mirror://sourceforge/scid/${P}.tar.bz2 |
12 |
mirror://sourceforge/scid/spelling_2009_01.ssp.zip |
12 |
mirror://sourceforge/scid/spelling.zip |
13 |
mirror://sourceforge/scid/ratings_2009_01.ssp.zip |
13 |
mirror://sourceforge/scid/ratings.zip |
14 |
mirror://sourceforge/scid/photos2007.zip |
14 |
mirror://sourceforge/scid/photos.zip |
15 |
mirror://sourceforge/scid/scidlet40k.zip" |
15 |
mirror://sourceforge/scid/scidlet40k.zip" |
16 |
|
16 |
|
17 |
LICENSE="GPL-2" |
17 |
LICENSE="GPL-2" |
Lines 19-26
Link Here
|
19 |
KEYWORDS="amd64 ppc x86" |
19 |
KEYWORDS="amd64 ppc x86" |
20 |
IUSE="" |
20 |
IUSE="" |
21 |
|
21 |
|
22 |
DEPEND=">=dev-lang/tk-8.3 |
22 |
DEPEND=">=dev-lang/tk-8.5.10-r1 |
23 |
>=sys-libs/zlib-1.1.3 |
23 |
>=sys-libs/zlib-1.2.5-r2 |
24 |
app-arch/unzip" |
24 |
app-arch/unzip" |
25 |
RDEPEND="${DEPEND} |
25 |
RDEPEND="${DEPEND} |
26 |
!games-board/chessdb |
26 |
!games-board/chessdb |
Lines 34-48
Link Here
|
34 |
} |
34 |
} |
35 |
|
35 |
|
36 |
src_prepare() { |
36 |
src_prepare() { |
37 |
epatch "${FILESDIR}"/${P}-gentoo.patch \ |
|
|
38 |
"${FILESDIR}"/${P}-parallelmake.patch |
39 |
sed -i \ |
37 |
sed -i \ |
40 |
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ |
38 |
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ |
41 |
tcl/config.tcl \ |
39 |
tcl/config.tcl \ |
42 |
tcl/start.tcl \ |
40 |
tcl/start.tcl \ |
43 |
src/scidlet.cpp \ |
41 |
src/scidlet.cpp \ |
44 |
|| die "sed failed" |
42 |
|| die "sed failed" |
45 |
gzip ../ratings_2009_01.ssp |
43 |
gzip ../ratings.ssp |
46 |
python_convert_shebangs -r 2 . |
44 |
python_convert_shebangs -r 2 . |
47 |
} |
45 |
} |
48 |
|
46 |
|
Lines 75-83
Link Here
|
75 |
make_desktop_entry scid Scid |
73 |
make_desktop_entry scid Scid |
76 |
|
74 |
|
77 |
cd .. |
75 |
cd .. |
78 |
newins spelling_2009_01.ssp spelling.ssp \ |
76 |
newins spelling.ssp spelling.ssp \ |
79 |
|| die "Failed installing spelling.ssp" |
77 |
|| die "Failed installing spelling.ssp" |
80 |
newins ratings_2009_01.ssp.gz ratings.ssp.gz \ |
78 |
newins ratings.ssp.gz ratings.ssp.gz \ |
81 |
|| die "Failed installing ratings.ssp" |
79 |
|| die "Failed installing ratings.ssp" |
82 |
doins *.spf \ |
80 |
doins *.spf \ |
83 |
|| die "Failed installing photos" |
81 |
|| die "Failed installing photos" |