aboutsummaryrefslogtreecommitdiff
blob: 124477a8607830df7b4bf7a9be416e71af38c856 (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
# Copyright 2020 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/reop-2.1.1.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
}