mirror of
https://github.com/gryf/gryf-overlay.git
synced 2025-12-23 06:38:07 +01:00
Added profanity ebuild
This commit is contained in:
50
dev-libs/libmesode/libmesode-9999.ebuild
Normal file
50
dev-libs/libmesode/libmesode-9999.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="Fork of libstrophe for use with Profanity XMPP Client"
|
||||
HOMEPAGE="https://github.com/boothj5/libmesode"
|
||||
EGIT_REPO_URI="https://github.com/boothj5/${PN}.git"
|
||||
|
||||
LICENSE="|| ( MIT GPL-3 )"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="doc examples libressl +ssl static-libs test"
|
||||
|
||||
RDEPEND="dev-libs/expat
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# shellcheck disable=SC2207
|
||||
local myeconf=(
|
||||
$(use_enable ssl tls)
|
||||
$(use_enable test static)
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
econf "${myeconf[@]}"
|
||||
}
|
||||
src_compile() {
|
||||
default
|
||||
if use doc; then
|
||||
doxygen || die
|
||||
HTML_DOCS=( docs/html/* )
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use examples && dodoc -r examples
|
||||
}
|
||||
Reference in New Issue
Block a user