aboutsummaryrefslogtreecommitdiff
blob: 6077f61981c096ec87d3ac328a1ab4f84a097644 (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-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit git-r3 cmake

DESCRIPTION="SASL plugin for client-side OAuth 2.0, e.g. Gmail/Outlook/Office/Postfix SMTP"
HOMEPAGE="https://github.com/tarickb/sasl-xoauth2"
SRC_URI=""

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE=""
RESTRICT="mirror"

EGIT_REPO_URI="https://github.com/tarickb/sasl-xoauth2.git"
EGIT_BRANCH="master"
EGIT_COMMIT="0cabe084"

DEPEND=""
RDEPEND="${DEPEND}"

src_install() {
	dobin "${S}/scripts/sasl-xoauth2-tool"
	dolib.so "${BUILD_DIR}/src/libsasl-xoauth2.so"
	insinto /etc
	doins "${S}/src/sasl-xoauth2.conf"
	dodoc ChangeLog README.md
}