From 7a32f91469c8daa49bee17f0394cf3b32ab4674d Mon Sep 17 00:00:00 2001 From: "Aaron W. Swenson" Date: Sat, 20 May 2017 15:40:08 -0400 Subject: dev-vcs/fossil: Version Bump to 2.2 Version bump to 2.2. Ebuild now less gimmicky. Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-vcs/fossil/Manifest | 1 + dev-vcs/fossil/fossil-2.2.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 dev-vcs/fossil/fossil-2.2.ebuild (limited to 'dev-vcs/fossil') diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest index 7a821d33bafc..e94fe9be1292 100644 --- a/dev-vcs/fossil/Manifest +++ b/dev-vcs/fossil/Manifest @@ -1,2 +1,3 @@ DIST fossil-src-1.34.tar.gz 4449452 SHA256 53a6b83e878feced9ac7705f87e5b6ea82727314e3e19202ae1c46c7e4dba49f SHA512 7c2677566527466727e823e5bf59f636b5fd08dd1093a742c3f7f72d398d380288030c3a573ae3c66c60f1e8c194f36f5987fa835251d7ced10533b9779578d7 WHIRLPOOL cb00af705b1f4376e09129091154f847da62817548d1838c03c34422eb223704e8a92cee5038a5cf5f75c600d55ce23fd681ca82f1f0e854b42b23b7c82bc66e DIST fossil-src-1.35.tar.gz 4642421 SHA256 c1f92f925a87c9872cb40d166f56ba08b90edbab01a8546ff37025836136ba1d SHA512 2a31530d81a316b69daba446e91236fdb94ced17a7228c094fc6053f9d75e736b6a50a93d97b8e875a4750fa4ff868b0dc78b494131b8ed118d160fff8995905 WHIRLPOOL 83406c7010e462f3e9742e03a6eb7a64e5f31516a6d353e56d71a8e54aec2154cd38160e73800ee72d6a5a91a0954e9bb5628b75bf5fd582696507c67a5da803 +DIST fossil-src-2.2.tar.gz 4826890 SHA256 9b8f82196eb89e4a2e82b4bcc51e314ae509a22c37073a18a0b325f11c53cf71 SHA512 1a1aedf3f9883a64f9f98c9a01857f5fb69cff0be23817016a4bc405b2efc85f21ac86a771d5e7314128e3fabc21444ac717017cf0935241fd4af964b7c086e0 WHIRLPOOL 8298287694930286f159a59f14efa07f0d3bcdc2ba961c55f7da1faab804e1a5d27386237c6bfa125341bf76bb33e1c3b63e61417378128c7511c459ae6a4705 diff --git a/dev-vcs/fossil/fossil-2.2.ebuild b/dev-vcs/fossil/fossil-2.2.ebuild new file mode 100644 index 000000000000..058c2fa4f815 --- /dev/null +++ b/dev-vcs/fossil/fossil-2.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Simple, high-reliability, source control management, and more" +HOMEPAGE="http://www.fossil-scm.org/" +SRC_URI="http://www.fossil-scm.org/index.html/uv/fossil-src-${PV}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="debug fusefs json legacy-mv-rm -miniz sqlite +ssl static tcl th1-docs th1-hooks" + +REQUIRED_USE="ssl? ( !miniz )" + +DEPEND=" + sys-libs/zlib + || ( sys-libs/readline:0 dev-libs/libedit ) + sqlite? ( >=dev-db/sqlite-3.14.0:3 ) + ssl? ( dev-libs/openssl:0 ) + tcl? ( dev-lang/tcl:0= ) +" +RDEPEND="${DEPEND}" + +src_configure() { + # this is not an autotools situation so don't make it seem like one + # --with-tcl: works + # --without-tcl: dies + local myconf="--with-openssl=$(usex ssl auto none)" + use debug && myconf+=' --fossil-debug' + use json && myconf+=' --json' + use sqlite && myconf+=' --disable-internal-sqlite' + use static && myconf+=' --static' + use tcl && myconf+=' --with-tcl --with-tcl-stubs' + + local u + for u in legacy-mv-rm miniz th1-docs th1-hooks; do + use ${u} && myconf+=" --with-${u}" + done + + use fusefs || myconf+=' --disable-fusefs' + + tc-export CC + ./configure ${myconf} || die +} + +src_install() { + dobin fossil +} -- cgit v1.2.3-65-gdbad