diff options
author | ArsenShnurkov <ArsenShnurkov@users.noreply.github.com> | 2017-06-17 12:01:37 +0300 |
---|---|---|
committer | ArsenShnurkov <ArsenShnurkov@users.noreply.github.com> | 2017-06-17 12:11:38 +0300 |
commit | 54891d55fad716a857c61a4a86a5a2142bcd05f1 (patch) | |
tree | 94d24eca38c376040a24a19d963e5d41503831b4 /dev-dotnet/ndepend-path | |
parent | Merge pull request #304 from trofi/master (diff) | |
download | dotnet-54891d55fad716a857c61a4a86a5a2142bcd05f1.tar.gz dotnet-54891d55fad716a857c61a4a86a5a2142bcd05f1.tar.bz2 dotnet-54891d55fad716a857c61a4a86a5a2142bcd05f1.zip |
fix dependency on NDepend.Path
Diffstat (limited to 'dev-dotnet/ndepend-path')
-rw-r--r-- | dev-dotnet/ndepend-path/Manifest | 1 | ||||
-rw-r--r-- | dev-dotnet/ndepend-path/metadata.xml | 6 | ||||
-rw-r--r-- | dev-dotnet/ndepend-path/ndepend-path-0.0_p20151123.ebuild | 51 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-dotnet/ndepend-path/Manifest b/dev-dotnet/ndepend-path/Manifest new file mode 100644 index 0000000..466eabc --- /dev/null +++ b/dev-dotnet/ndepend-path/Manifest @@ -0,0 +1 @@ +DIST ndepend-path-0.0_p20151123.tar.gz 474829 SHA256 c60ee3b97adf6a7eb8acd275ffe705256f29bc16b2c59916e8d8c8ae15d407ba SHA512 dded789bbde008427d6b95de0868f4c631c998967cc46d3c5076ff7f4251186ce72d6b4a48da22bebb668999c8c57ca3c8a8811c6c874eb2c632585de9f8e8a4 WHIRLPOOL 212045d2501c92d88fb17cf3ea4378f0f1321cf520027c50ff298f9e83bef646b8234269742e2fd045281b58052602b332e089d9b6e1a5b5060cf0e8ea15c5fc diff --git a/dev-dotnet/ndepend-path/metadata.xml b/dev-dotnet/ndepend-path/metadata.xml new file mode 100644 index 0000000..d74ab10 --- /dev/null +++ b/dev-dotnet/ndepend-path/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<use> +</use> +</pkgmetadata> diff --git a/dev-dotnet/ndepend-path/ndepend-path-0.0_p20151123.ebuild b/dev-dotnet/ndepend-path/ndepend-path-0.0_p20151123.ebuild new file mode 100644 index 0000000..b7f3785 --- /dev/null +++ b/dev-dotnet/ndepend-path/ndepend-path-0.0_p20151123.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="6" + +KEYWORDS="~x86 ~amd64 ~ppc" +RESTRICT="mirror" + +SLOT="0" + +IUSE="debug" +USE_DOTNET="net40" + +inherit dotnet gac mpt-r20150903 + +DESCRIPTION="C# framework for paths operations: Absolute, Drive Letter, UNC, Relative, prefixed" +LICENSE="MIT" +NAME="NDepend.Path" +HOMEPAGE="https://github.com/psmacchia/${NAME}" +EGIT_COMMIT="96008fcfbc137eac6fd327387b80b14909a581a1" +SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${PN}-${PV}.tar.gz" +S="${WORKDIR}/${NAME}-${EGIT_COMMIT}" + + +CDEPEND="|| ( >=dev-lang/mono-4 <dev-lang/mono-9999 )" +DEPEND="${CDEPEND}" +RDEPEND="${CDEPEND}" + +DLLNAME=${NAME} +FULLSLN=${NAME}.sln + +src_prepare() { + empt-csproj --dir="${S}/${NAME}" --remove-reference "Microsoft.Contracts" + empt-sln --sln-file "${S}/${FULLSLN}" --remove-proj "NDepend.Path.Tests" + eapply_user +} + +src_compile() { + exbuild_strong "${FULLSLN}" +} + +src_install() { + if use debug; then + DIR="Debug" + else + DIR="Release" + fi + elog "Installing ${DLLNAME}.dll into GAC " + egacinstall "${NAME}/bin/${DIR}/${DLLNAME}.dll" +} |