Add cyrus-sasl-xoauth2 from http://mmogilvi.users.sourceforge.net/software/oauthbearer.html
This commit is contained in:
parent
d08e159d6a
commit
0f88ef0c1f
2
dev-libs/cyrus-sasl-xoauth2/Manifest
Normal file
2
dev-libs/cyrus-sasl-xoauth2/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST cyrus-sasl-xoauth2-0.2.tar.gz 14120 BLAKE2B 21daeed883017029be37a7ac7397426a30a01ba9de7ff55d1bb403f0c266d0d90ef2b071653a355faba0d56d14a8e5bcc47d3c0780eb2401464e57d5fb7ad5ae SHA512 c3a8fdc7c51a22df9fd8da5418a95e146b46c6865d4990dcf4053f18ca9ee9900b3b564e85cc8ec7bcde75966385b148e8320059b00f2f1374d4601c50e2c821
|
||||||
|
EBUILD cyrus-sasl-xoauth2-0.2.ebuild 1493 BLAKE2B 5e2f7acc1b123784b361c3fbc28b88d8c03ebf931163e07b033efdf4c235eca65b0df4fed5f7bc0bb47fee51b5ae06adb92289e70811648e28f1cd3eea844e89 SHA512 ce76ae4bef60d45952983a61bdb8c18da0a15b615e782d43d929ce0b9fdcb701a96fa0985ad5c12133585f38ebad0b3cd17475910463ccc187e21c5436b3ef3a
|
52
dev-libs/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2-0.2.ebuild
Normal file
52
dev-libs/cyrus-sasl-xoauth2/cyrus-sasl-xoauth2-0.2.ebuild
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit autotools eutils multilib multilib-minimal
|
||||||
|
|
||||||
|
DESCRIPTION="xoauth2 plugin for cyrus-sasl"
|
||||||
|
HOMEPAGE="https://github.com/moriyoshi/cyrus-sasl-xoauth2"
|
||||||
|
SRC_URI="https://github.com/moriyoshi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
# License wraps lines differently and doesn't have last paragraph
|
||||||
|
# in square brackets about advertising. But otherwise the license
|
||||||
|
# wording is identical to MIT:
|
||||||
|
LICENSE="MIT"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="dev-libs/cyrus-sasl"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# FUTURE: It would probably be better to make this a properly-named
|
||||||
|
# "configure"-able variable, and invoke configure with something like
|
||||||
|
# --with-plugindir="${EPREFIX}/usr/$(get_libdir)/sasl2"
|
||||||
|
sed -i -e 's%^pkglibdir =.*/lib/%pkglibdir = @libdir@/%' Makefile.am
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
ECONF_SOURCE=${S} \
|
||||||
|
econf \
|
||||||
|
--with-cyrus-sasl="${EPREFIX}/usr" \
|
||||||
|
--disable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Adapted from similar in cyrus-sasl ebuild; removed static-libs check
|
||||||
|
# FUTURE: Would it be useful to add a static-libs use
|
||||||
|
# flag and prefix this with "use static-libs ||"? It isn't
|
||||||
|
# clear that that would be useful for anything; things using
|
||||||
|
# sasl would probably have to explicitly statically link
|
||||||
|
# this specific plugin.
|
||||||
|
[[ $(get_modname) != .so ]] || \
|
||||||
|
prune_libtool_files --modules
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user