View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
MY_PN="${PN}-src"
DESCRIPTION="An non-optimal 2x2x2 rubik's cube solver"
HOMEPAGE="https://web.archive.org/web/20121212175710/http://www.wrongway.org/?rubiksource"
SRC_URI="mirror://sagemath/${MY_PN}.zip"
S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x64-macos"
DEPEND="app-arch/unzip"
src_compile() {
emake \
CPP="$(tc-getCXX)" \
LINK="$(tc-getCXX)" \
CFLAGS="${CFLAGS}" \
LFLAGS="${LDFLAGS}"
}
src_install() {
dobin cu2
dodoc readme.txt
}