commit: a5e86f39103c1d30d964e3ef751d6724683d2cca
Author: ArsenShnurkov <Arsen.Shnurkov <AT> gmail <DOT> com>
AuthorDate: Thu Aug 18 20:29:23 2016 +0000
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 20:29:23 2016 +0000
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=a5e86f39
adding to gac
.../eto-parse/eto-parse-1.4.0_p20150907.ebuild | 23 +++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/dev-dotnet/eto-parse/eto-parse-1.4.0_p20150907.ebuild
b/dev-dotnet/eto-parse/eto-parse-1.4.0_p20150907.ebuild
index 5efd728..743beff 100644
--- a/dev-dotnet/eto-parse/eto-parse-1.4.0_p20150907.ebuild
+++ b/dev-dotnet/eto-parse/eto-parse-1.4.0_p20150907.ebuild
@@ -3,8 +3,12 @@
# $Id$
EAPI=6
+
+USE_DOTNET="net45"
inherit mono-env dotnet gac nupkg
+IUSE="${USE_DOTNET} developer nupkg debug"
+
NAME="Eto.Parse"
HOMEPAGE="https://github.com/picoe/${NAME}"
@@ -22,8 +26,6 @@ KEYWORDS="~amd64 ~x86"
# notes on testing, from
https://devmanual.gentoo.org/ebuild-writing/functions/src_test/index.html
# FEATURES+="test"
-USE_DOTNET="net45"
-IUSE="${USE_DOTNET} developer nupkg debug"
# there is no "test" in IUSE, because test project and solution are not build
# there is no "gac" in IUSE, because utilities for patching are not ready
@@ -93,7 +95,7 @@ src_prepare() {
}
src_compile() {
- exbuild "${METAFILETOBUILD}"
+ exbuild_strong "${METAFILETOBUILD}"
enuspec "${NUSPEC_FILE}"
}
@@ -104,14 +106,13 @@ src_test() {
}
src_install() {
- # ebuild is not ready for gac install
- #DIR=""
- #if use debug; then
- # DIR="Debug"
- #else
- # DIR="Release"
- #fi
- # egacinstall "Eto.Parse/bin/${DIR}/net40/Eto.Parse.dll"
+ DIR=""
+ if use debug; then
+ DIR="Debug"
+ else
+ DIR="Release"
+ fi
+ egacinstall "Eto.Parse/bin/${DIR}/net40/Eto.Parse.dll"
enupkg "${WORKDIR}/${NAME}.${NUSPEC_VERSION}.nupkg"
}