Lines 1-4
Link Here
|
1 |
# Copyright 1999-2008 Gentoo Foundation |
1 |
# Copyright 1999-2010 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/freedoko-0.7.3.ebuild,v 1.10 2008/11/12 19:41:19 tupone Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-board/freedoko/freedoko-0.7.3.ebuild,v 1.10 2008/11/12 19:41:19 tupone Exp $ |
4 |
|
4 |
|
Lines 36-42
Link Here
|
36 |
epatch \ |
36 |
epatch \ |
37 |
"${FILESDIR}"/portage-cxx.patch \ |
37 |
"${FILESDIR}"/portage-cxx.patch \ |
38 |
"${FILESDIR}"/${P}-gcc43.patch \ |
38 |
"${FILESDIR}"/${P}-gcc43.patch \ |
39 |
"${FILESDIR}"/Fix_Cardset_Make.patch |
39 |
"${FILESDIR}"/Fix_Cardset_Make.patch \ |
|
|
40 |
"${FILESDIR}"/${P}-nostrip.patch |
41 |
|
40 |
use !doc && epatch "${FILESDIR}"/nodoc.patch |
42 |
use !doc && epatch "${FILESDIR}"/nodoc.patch |
41 |
use !net && epatch "${FILESDIR}"/nonet.patch |
43 |
use !net && epatch "${FILESDIR}"/nonet.patch |
42 |
sed -i \ |
44 |
sed -i \ |
Lines 66-83
Link Here
|
66 |
src_compile() { |
68 |
src_compile() { |
67 |
export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"${GAMES_DATADIR}/${PN}\"'" |
69 |
export CPPFLAGS="-DPUBLIC_DATA_DIRECTORY_VALUE='\"${GAMES_DATADIR}/${PN}\"'" |
68 |
export OSTYPE=Linux |
70 |
export OSTYPE=Linux |
69 |
emake release_directory || die "build failed" |
71 |
emake release_directory || die |
70 |
emake release_data || die "build failed" |
72 |
emake release_data || die |
71 |
emake release_linux_binary || die "build failed" |
73 |
emake release_linux_binary || die |
72 |
} |
74 |
} |
73 |
|
75 |
|
74 |
src_install() { |
76 |
src_install() { |
75 |
newgamesbin release/FreeDoko_${PV}/FreeDoko freedoko || die "installing the binary failed" |
77 |
newgamesbin release/FreeDoko_${PV}/FreeDoko freedoko || die "installing the binary failed" |
76 |
rm -f release/FreeDoko_${PV}/FreeDoko |
78 |
rm -f release/FreeDoko_${PV}/FreeDoko |
77 |
insinto "${GAMES_DATADIR}"/${PN}/ |
79 |
insinto "${GAMES_DATADIR}"/${PN}/ |
78 |
doins -r release/FreeDoko_${PV}/* || die "Installation failed" |
80 |
doins -r release/FreeDoko_${PV}/* || die |
79 |
dodoc README LIESMICH ChangeLog |
81 |
dodoc README LIESMICH ChangeLog || die |
80 |
newicon src/FreeDoko.png ${PN}.png |
82 |
newicon src/FreeDoko.png ${PN}.png || die |
81 |
make_desktop_entry ${PN} FreeDoko |
83 |
make_desktop_entry ${PN} FreeDoko |
82 |
prepgamesdirs |
84 |
prepgamesdirs |
83 |
} |
85 |
} |