Line
Link Here
|
0 |
-- games-arcade/tuxanci/tuxanci-20110429.ebuild |
0 |
++ games-arcade/tuxanci/tuxanci-20110429.ebuild |
Lines 4-25
Link Here
|
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=3 |
6 |
|
6 |
|
7 |
[[ ${PV} = 9999* ]] && GIT="git-2" |
7 |
inherit cmake-utils eutils games |
8 |
EGIT_REPO_URI="git://repo.or.cz/tuxanci.git" |
|
|
9 |
|
10 |
inherit games cmake-utils ${GIT} |
11 |
|
8 |
|
12 |
DESCRIPTION="Tuxanci is first tux shooter inspired by game Bulanci." |
9 |
DESCRIPTION="Tuxanci is first tux shooter inspired by game Bulanci." |
13 |
HOMEPAGE="http://www.tuxanci.org/" |
10 |
HOMEPAGE="http://www.tuxanci.org/" |
14 |
if [[ ${PV} = 9999* ]]; then |
11 |
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz" |
15 |
SRC_URI="" |
12 |
|
16 |
KEYWORDS="" |
13 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
17 |
else |
|
|
18 |
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz" |
19 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
20 |
fi |
21 |
LICENSE="GPL-2" |
14 |
LICENSE="GPL-2" |
22 |
|
|
|
23 |
SLOT="0" |
15 |
SLOT="0" |
24 |
IUSE="debug dedicated +ipv6 nls opengl physfs +sound" |
16 |
IUSE="debug dedicated +ipv6 nls opengl physfs +sound" |
25 |
|
17 |
|
Lines 42-47
Link Here
|
42 |
nls? ( sys-devel/gettext ) |
34 |
nls? ( sys-devel/gettext ) |
43 |
" |
35 |
" |
44 |
|
36 |
|
|
|
37 |
src_prepare() { |
38 |
epatch "${FILESDIR}"/${P}-flags.patch |
39 |
} |
40 |
|
45 |
src_configure() { |
41 |
src_configure() { |
46 |
local mycmakeargs+=( |
42 |
local mycmakeargs+=( |
47 |
$(cmake-utils_use_with sound AUDIO) |
43 |
$(cmake-utils_use_with sound AUDIO) |
Lines 50-56
Link Here
|
50 |
$(cmake-utils_use_with physfs) |
46 |
$(cmake-utils_use_with physfs) |
51 |
$(cmake-utils_use_with opengl) |
47 |
$(cmake-utils_use_with opengl) |
52 |
$(cmake-utils_use_enable ipv6) |
48 |
$(cmake-utils_use_enable ipv6) |
53 |
$(cmake-utils_use debug DEVELOPER) |
49 |
$(cmake-utils_use_enable debug DEBUG) |
54 |
) |
50 |
) |
55 |
|
51 |
|
56 |
mycmakeargs+=( |
52 |
mycmakeargs+=( |
Lines 66-71
Link Here
|
66 |
cmake-utils_src_configure |
62 |
cmake-utils_src_configure |
67 |
} |
63 |
} |
68 |
|
64 |
|
|
|
65 |
src_compile() { |
66 |
cmake-utils_src_compile |
67 |
} |
68 |
|
69 |
src_install() { |
69 |
src_install() { |
70 |
cmake-utils_src_install |
70 |
cmake-utils_src_install |
71 |
|
71 |
|