diff options
Diffstat (limited to 'dev-lang/solidity/solidity-0.4.18.ebuild')
-rw-r--r-- | dev-lang/solidity/solidity-0.4.18.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-lang/solidity/solidity-0.4.18.ebuild b/dev-lang/solidity/solidity-0.4.18.ebuild new file mode 100644 index 000000000000..8a36d44a9092 --- /dev/null +++ b/dev-lang/solidity/solidity-0.4.18.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +MY_P="${PN}_${PV}" + +DESCRIPTION="The Solidity Contract-Oriented Programming Language" +HOMEPAGE="https://github.com/ethereum/solidity" +SRC_URI="https://github.com/ethereum/${PN}/releases/download/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="=dev-libs/jsoncpp-1.8.1:= + >=dev-libs/boost-1.54:= +" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + # Upstream downloads and builds a static jsoncpp during build + "${FILESDIR}"/${P}-fix-cmake-external-jsoncpp.diff +) + +src_configure() { + local mycmakeargs=( + "-DBoost_USE_STATIC_LIBS=off" + ) + + cmake-utils_src_configure +} |