diff options
author | 2015-10-26 22:54:50 -0700 | |
---|---|---|
committer | 2015-10-26 22:54:50 -0700 | |
commit | 9bd8b8dd579765807b2b07db80890b9b524f8f7b (patch) | |
tree | c822007c0f2745cf4bfa62e6587f25d15312b130 | |
parent | Bump mhng to 0.1.2 (diff) | |
download | palmer-9bd8b8dd579765807b2b07db80890b9b524f8f7b.tar.gz palmer-9bd8b8dd579765807b2b07db80890b9b524f8f7b.tar.bz2 palmer-9bd8b8dd579765807b2b07db80890b9b524f8f7b.zip |
Have blogc use epatch_user
-rw-r--r-- | app-text/blogc/Manifest | 2 | ||||
-rw-r--r-- | app-text/blogc/blogc-0.4.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/app-text/blogc/Manifest b/app-text/blogc/Manifest new file mode 100644 index 0000000..cfded01 --- /dev/null +++ b/app-text/blogc/Manifest @@ -0,0 +1,2 @@ +DIST blogc-0.4.tar.xz 247932 SHA256 77686e770c8706941d49c74887c0dda7a17a286718ccb96264392d18be8087b9 SHA512 a1d235f010a700afc4b60b560770567d3fa2ffd28bba1104955ba88fcd4dd1add1ee42c96227ec152e396259312701e64713916c6331608b2a170227446aa7fe WHIRLPOOL f5d428758df2052dbdf06b70beb2453688d1725c3fb545fb1c82589b2ac4b993534fa9c82c203c0e6ba66c7dc6786c5d8f9c4fc3d71923471cfd3c317d518710 +EBUILD blogc-0.4.ebuild 1085 SHA256 67ba284ddacaae98661cf993b0c9b300fd79f7fd5a0227282d10172beead0a35 SHA512 74439233ab74ad193a8daccc14765cbe1e395fff936ce5ec20780e8bcf89ea658b17c2fae59e442f789c2919c73066d06c82b4061aee69d31b6ce82fd483c4b1 WHIRLPOOL deb544a996ad4da8988e53a25d5c92d3d745c82c163ec2968f0f42ebdf8ddeed3e0e114b16995c11b88425dd65e54e30490d8ee4bae0c1a23b0b68e93c7a1953 diff --git a/app-text/blogc/blogc-0.4.ebuild b/app-text/blogc/blogc-0.4.ebuild new file mode 100644 index 0000000..b67bcbb --- /dev/null +++ b/app-text/blogc/blogc-0.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +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="http://blogc.org/" + +MY_PV="${PV/_/-}" +MY_PV="${MY_PV/beta/beta.}" + +MY_P="${PN}-${MY_PV}" + +SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.xz" +KEYWORDS="~amd64 ~x86" +if [[ ${PV} = *9999* ]]; then + SRC_URI="" + KEYWORDS="" + DEPEND="app-text/ronn" +else + S="${WORKDIR}/${MY_P}" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="test" + +RDEPEND="" + +# pkg-config is used only to find cmocka libraries +DEPEND="${DEPEND} + test? ( + virtual/pkgconfig + dev-util/cmocka )" + +src_prepare() { + [[ ${PV} = *9999* ]] && eautoreconf + epatch_user + default +} + +src_configure() { + local myconf="" + if [[ ${PV} = *9999* ]]; then + myconf+="--enable-ronn" + else + myconf+="--disable-ronn" + fi + econf \ + $(use_enable test tests) \ + --disable-valgrind \ + ${myconf} +} |