Install this version:
emerge -a =games-action/snipes-1.0.4
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-action/snipes-1.0.4
Or alternatively:
emerge --autounmask-write -a =games-action/snipes-1.0.4
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop flag-o-matic multilib toolchain-funcs
DESCRIPTION="2D scrolling shooter, resembles the old DOS game of same name"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="media-libs/libsdl[sound,video]"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-ldflags.patch
)
src_compile() {
tc-export CC LD
# lld requires abi flags to be passed even if native (bug #730852)
LDLIBS=-lm emake RAW_LDFLAGS="$(get_abi_LDFLAGS) $(raw-ldflags)"
}
src_install() {
dobin ${PN}
doman ${PN}.6
einstalldocs
doicon ${PN}.png
make_desktop_entry ${PN} ${PN^}
}
| Mirror Name | URLs |
|---|---|
| gentoo |
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | snipes-1.0.4.tar.gz | 39150 bytes | mirror://gentoo/snipes-1.0.4.tar.gz |