Line
Link Here
|
0 |
-- games-board/xgammon/xgammon-0.98.ebuild |
0 |
++ games-board/xgammon/xgammon-0.98.ebuild |
Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/games-board/xgammon/xgammon-0.98.ebuild,v 1.14 2010/09/06 08:54:07 tupone Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/games-board/xgammon/xgammon-0.98.ebuild,v 1.14 2010/09/06 08:54:07 tupone Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=2 |
6 |
inherit eutils |
6 |
inherit eutils multilib |
7 |
|
7 |
|
8 |
DESCRIPTION="very nice backgammon game for X" |
8 |
DESCRIPTION="very nice backgammon game for X" |
9 |
HOMEPAGE="http://fawn.unibw-hamburg.de/steuer/xgammon/xgammon.html" |
9 |
HOMEPAGE="http://fawn.unibw-hamburg.de/steuer/xgammon/xgammon.html" |
Lines 26-31
Link Here
|
26 |
"${FILESDIR}/${P}-broken.patch" \ |
26 |
"${FILESDIR}/${P}-broken.patch" \ |
27 |
"${FILESDIR}/${P}-config.patch" \ |
27 |
"${FILESDIR}/${P}-config.patch" \ |
28 |
"${FILESDIR}/gcc33.patch" |
28 |
"${FILESDIR}/gcc33.patch" |
|
|
29 |
|
30 |
sed -i \ |
31 |
-e "s#@LIBDIR@#/usr/$(get_libdir)/X11#" \ |
32 |
xgammon.ad || die |
29 |
} |
33 |
} |
30 |
|
34 |
|
31 |
src_configure() { |
35 |
src_configure() { |
Lines 33-39
Link Here
|
33 |
} |
37 |
} |
34 |
|
38 |
|
35 |
src_compile() { |
39 |
src_compile() { |
36 |
env PATH=".:${PATH}" emake EXTRA_LDOPTIONS="${LDFLAGS}" || die "emake failed" |
40 |
env PATH=".:${PATH}" \ |
|
|
41 |
emake \ |
42 |
CC="$(tc-getCC)" \ |
43 |
CDEBUGFLAGS="${CFLAGS}" \ |
44 |
EXTRA_LDOPTIONS="${LDFLAGS}" \ |
45 |
|| die "emake failed" |
37 |
} |
46 |
} |
38 |
|
47 |
|
39 |
src_install() { |
48 |
src_install() { |