aboutsummaryrefslogtreecommitdiff
blob: 848357b7e6220247e7c147e9ea662272a9a26ab2 (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
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="reasonable expectation of privacy"
HOMEPAGE="https://flak.tedunangst.com/post/reop"
SRC_URI="https://flak.tedunangst.com/files/${P}.tgz"

LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="dev-libs/libsodium:="
RDEPEND="${DEPEND}"

src_compile() {
	emake CC="${CC:-cc}" CFLAGS="${CFLAGS}"
}

src_test() {
	cd ./tests || die
	source test.sh || die
	cd .. || die
}
src_install() {
	dobin reop
	doman reop.1
}