Create libmesode-9999.ebuild

This commit is contained in:
KronoZed 2016-03-10 14:40:30 +03:00
parent bac95bb205
commit 5240224adc
1 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,41 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
EGIT_REPO_URI="git://github.com/boothj5/libmesode.git"
inherit autotools eutils git-2
DESCRIPTION="Fork of libstrophe for use with Profanity XMPP Client"
HOMEPAGE="https://github.com/boothj5/libmesode"
LICENSE="MIT GPL-3"
SLOT="0"
KEYWORDS=""
IUSE="doc"
RDEPEND="dev-libs/expat
dev-libs/openssl"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )"
S="${WORKDIR}/${P/-/_}"
src_prepare() {
eautoreconf
}
src_compile() {
emake
if use doc; then
doxygen || die
fi
}
src_install() {
einstall
dodoc LICENSE.txt README.markdown
use doc && dohtml -r docs/html/*
}