mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
The arch and OS that matches it are obsolete. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
30 lines
729 B
Bash
30 lines
729 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit flag-o-matic toolchain-funcs
|
|
|
|
DESCRIPTION="Space invaders clone, using ncurses library"
|
|
HOMEPAGE="https://github.com/macdice/ascii-invaders"
|
|
SRC_URI="https://github.com/macdice/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~mips ~ppc64 ~x86"
|
|
|
|
RDEPEND="sys-libs/ncurses:="
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
src_compile() {
|
|
tc-export CC
|
|
append-cppflags $($(tc-getPKG_CONFIG) --cflags ncurses || die)
|
|
emake -f /dev/null LDLIBS="$($(tc-getPKG_CONFIG) ncurses --libs || die)" invaders
|
|
}
|
|
|
|
src_install() {
|
|
newbin invaders ${PN}
|
|
einstalldocs
|
|
}
|