diff options
Diffstat (limited to 'dev-vcs/fossil')
-rw-r--r-- | dev-vcs/fossil/Manifest | 1 | ||||
-rw-r--r-- | dev-vcs/fossil/fossil-1.35.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-vcs/fossil/Manifest b/dev-vcs/fossil/Manifest index b7d5903cd85a..c28e21f520b9 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-20150119112900.tar.gz 3973184 SHA256 37969e5a09c1611199921e3518a4ed736fd637a02f2d5810cd45897a4ceb92dc SHA512 9bee82916d98b5d7d81e200ec6616c1e463540de254464a559254ee117a99492a0080003645a99ef93cc551395e38b93dfb12728abbbdbf468f5c2743f67718e WHIRLPOOL 19175692472913bc94bf993956c1e0b8510ff33d6df2c168acf700e64b6f4e62eed34a4888c38e093eabfe582224edf5b7e03dc652b5f1e8824b9e8e5608d492 diff --git a/dev-vcs/fossil/fossil-1.35.ebuild b/dev-vcs/fossil/fossil-1.35.ebuild new file mode 100644 index 000000000000..714de7a2e03f --- /dev/null +++ b/dev-vcs/fossil/fossil-1.35.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_P=${PN}-src-${PV} + +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/download/${MY_P}.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" + +DEPEND=" + sys-libs/zlib + || ( sys-libs/readline:0 dev-libs/libedit ) + sqlite? ( dev-db/sqlite: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 +} |