Install this version:
emerge -a =app-crypt/checkmate-1.0.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-crypt/checkmate-1.0.1
Or alternatively:
emerge --autounmask-write -a =app-crypt/checkmate-1.0.1
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib
DESCRIPTION="Utility to generate and verify checksums/hashes"
HOMEPAGE="https://sourceforge.net/projects/jm-checkmate/"
SRC_URI="https://downloads.sourceforge.net/project/jm-checkmate/${PV}/${P}-src.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="aot doc"
RDEPEND=">=dev-lang/mono-3"
DEPEND="${RDEPEND}"
S="${WORKDIR}/${P}/CheckMate"
src_compile() {
emake
if use aot; then
mono --aot -O=all bin/Release/CheckMate.exe || die
fi
}
src_install() {
emake install PREFIX="${D}/usr"
if use aot; then
insinto "/usr/$(get_libdir)/checkmate"
doins bin/Release/CheckMate.exe.so
fi
rm -rf "${D}/usr/share/man" # Let portage handle manpages/docs
rm -rf "${D}/usr/share/doc"
doman checkmate.1
dodoc README.txt ChangeLog.txt
use doc && dodoc ./Doc/*
}
src_test() {
cd Testsuite || die
./run_tests.sh mono ../bin/Release/CheckMate.exe || die "Tests failed"
}
Manage flags for this package:
euse -i <flag> -p app-crypt/checkmate |
euse -E <flag> -p app-crypt/checkmate |
euse -D <flag> -p app-crypt/checkmate
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | checkmate-1.0.1-src.tar.xz | 61404 bytes | https://downloads.sourceforge.net/project/jm-checkmate/1.0.1/checkmate-1.0.1-src.tar.xz |