blob: 0619f93210a42da33d4cf5a43e0d44bba3a67754 (
plain)
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
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop flag-o-matic toolchain-funcs
DESCRIPTION="Curses-based clone of the nifty little Macintosh freeware game Galaxis"
HOMEPAGE="http://www.catb.org/~esr/galaxis/"
SRC_URI="http://www.catb.org/~esr/galaxis/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64 ~x86"
DEPEND="sys-libs/ncurses:="
RDEPEND="${DEPEND}"
BDEPEND="
dev-ruby/asciidoctor
virtual/pkgconfig
"
src_compile() {
append-cppflags $($(tc-getPKG_CONFIG) --cflags ncurses || die) -DNDEBUG
append-libs $($(tc-getPKG_CONFIG) --libs ncurses || die)
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" \
TERMLIB="${LIBS}"
}
src_install() {
dobin ${PN}
doman ${PN}.6
einstalldocs
doicon ${PN}.png
domenu ${PN}.desktop
}
|