forked from signus-game/signus
-
Notifications
You must be signed in to change notification settings - Fork 1
/
signus-9999.ebuild
52 lines (44 loc) · 869 Bytes
/
signus-9999.ebuild
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
42
43
44
45
46
47
48
49
50
51
52
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3
DESCRIPTION="Turn-based sci-fi strategy wargame"
HOMEPAGE="https://github.com/signus-game/signus"
EGIT_REPO_URI="https://github.com/signus-game/signus"
EGIT_SUBMODULES=()
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="debug"
RESTRICT="debug? ( strip )"
RDEPEND="
media-libs/libsdl2:=
media-libs/sdl2-image:=[jpeg]
media-libs/sdl2-mixer:=[midi,vorbis]
media-libs/sdl2-ttf:="
DEPEND="${RDEPEND}
media-libs/libpng"
src_configure() {
cd signus
./bootstrap
econf $(use_enable debug)
cd ../signus-data
./bootstrap
econf
cd ..
}
src_compile() {
cd signus
emake
cd ../signus-data
emake
cd ..
}
src_install() {
cd signus
emake DESTDIR="${D}" install
dodoc AUTHORS
cd ../signus-data
emake DESTDIR="${D}" install
cd ..
}