diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2016-05-30 22:22:16 +0200 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2016-05-30 22:22:16 +0200 |
commit | 117fd0116676b512dfd26613eab573c4361ced06 (patch) | |
tree | 02090003ba0e1c47e6e8bc1b8b28f49c693c07ce /app-text/blogc/blogc-0.10.0.ebuild | |
parent | media-libs/opencolorio-1.0.9-r2: stable on amd64 and x86 (diff) | |
download | gentoo-117fd0116676b512dfd26613eab573c4361ced06.tar.gz gentoo-117fd0116676b512dfd26613eab573c4361ced06.tar.bz2 gentoo-117fd0116676b512dfd26613eab573c4361ced06.zip |
app-text/blogc: version bump
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-text/blogc/blogc-0.10.0.ebuild')
-rw-r--r-- | app-text/blogc/blogc-0.10.0.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/app-text/blogc/blogc-0.10.0.ebuild b/app-text/blogc/blogc-0.10.0.ebuild new file mode 100644 index 000000000000..538dbb319bbd --- /dev/null +++ b/app-text/blogc/blogc-0.10.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI=" + git://github.com/blogc/blogc.git + https://github.com/blogc/blogc.git" + inherit git-r3 autotools +fi + +DESCRIPTION="A blog compiler" +HOMEPAGE="https://blogc.rgm.io/" + +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz" +KEYWORDS="~amd64 ~x86" +if [[ ${PV} = *9999* ]]; then + SRC_URI="" + KEYWORDS="" + DEPEND="app-text/ronn" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="git httpd test" + +CDEPEND=" + httpd? ( + dev-libs/libevent + sys-apps/file )" + +RDEPEND="${CDEPEND} + git? ( + dev-vcs/git ) + !dev-vcs/blogc-git-receiver + !www-servers/blogc-runserver" + +DEPEND="${DEPEND} + ${CDEPEND} + virtual/pkgconfig + test? ( + dev-util/cmocka )" + +src_prepare() { + [[ ${PV} = *9999* ]] && eautoreconf + eapply_user + default +} + +src_configure() { + local myconf="" + if [[ ${PV} = *9999* ]]; then + myconf+="--enable-ronn" + else + myconf+="--disable-ronn" + fi + econf \ + $(use_enable test tests) \ + $(use_enable git git-receiver) \ + $(use_enable httpd runserver) \ + --disable-valgrind \ + ${myconf} +} |