summaryrefslogtreecommitdiff
blob: 938a037ee3985aab299f348c2f8dfc224ea40fe4 (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
30
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6
inherit toolchain-funcs

DESCRIPTION="a secure ACME client"
HOMEPAGE="https://kristaps.bsd.lv/acme-client"
SRC_URI="https://kristaps.bsd.lv/acme-client/snapshots/${PN}-portable-${PV}.tgz"

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

DEPEND="
	dev-libs/libressl
	dev-libs/libbsd"
RDEPEND="${DEPEND}"

S=${WORKDIR}/${PN}-portable-${PV}

src_compile() {
	emake CC=$(tc-getCC)
}

src_install() {
	DESTDIR="${D}" PREFIX="/usr" MAN1DIR="/usr/share/man/man1" emake install
	dodoc ChangeLog
}