1 |
commit: 1e7ef9a71421a3a4c85399fa24a34dc980a87374 |
2 |
Author: ArsenShnurkov <ArsenShnurkov <AT> users <DOT> noreply <DOT> github <DOT> com> |
3 |
AuthorDate: Fri Oct 13 07:07:46 2017 +0000 |
4 |
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 13 12:19:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=1e7ef9a7 |
7 |
|
8 |
initial template and digest |
9 |
|
10 |
app-shells/pash/pash-0.0_p2016060606.ebuild | 44 +++++++++++++++++++++++++++++ |
11 |
1 file changed, 44 insertions(+) |
12 |
|
13 |
diff --git a/app-shells/pash/pash-0.0_p2016060606.ebuild b/app-shells/pash/pash-0.0_p2016060606.ebuild |
14 |
new file mode 100644 |
15 |
index 0000000..3081245 |
16 |
--- /dev/null |
17 |
+++ b/app-shells/pash/pash-0.0_p2016060606.ebuild |
18 |
@@ -0,0 +1,44 @@ |
19 |
+# Copyright 1999-2017 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI="6" |
24 |
+KEYWORDS="~x86 ~amd64 ~ppc" |
25 |
+RESTRICT="mirror" |
26 |
+SLOT="0" |
27 |
+ |
28 |
+USE_DOTNET="net45" |
29 |
+IUSE="+${USE_DOTNET}" |
30 |
+ |
31 |
+inherit msbuild eutils |
32 |
+ |
33 |
+DESCRIPTION="An Open Source reimplementation of Windows PowerShell" |
34 |
+ |
35 |
+LICENSE="BSD || ( GPL-2+ )" # LICENSE syntax is defined in https://wiki.gentoo.org/wiki/GLEP:23 |
36 |
+ |
37 |
+PROJECTNAME="Pash" |
38 |
+HOMEPAGE="https://github.com/Pash-Project/${PROJECTNAME}" |
39 |
+EGIT_COMMIT="8d6a48f5ed70d64f9b49e6849b3ee35b887dc254" |
40 |
+SRC_URI="${HOMEPAGE}/archive/${EGIT_COMMIT}.tar.gz -> ${P}-${PR}.tar.gz" |
41 |
+S="${WORKDIR}/${PROJECTNAME}-${EGIT_COMMIT}" |
42 |
+ |
43 |
+CDEPEND="|| ( >=dev-lang/mono-5.4.0.167 <dev-lang/mono-9999 )" |
44 |
+RDEPEND="${CDEPEND}" |
45 |
+DEPEND="${CDEPEND}" |
46 |
+ |
47 |
+ |
48 |
+METAFILETOBUILD=${PROJECTNAME}.proj |
49 |
+ |
50 |
+src_compile() { |
51 |
+ emsbuild "${METAFILETOBUILD}" |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ insinto /usr/lib/pash/ |
56 |
+ doins Source/PashConsole/bin/Release/Pash.exe |
57 |
+ doins Source/PashConsole/bin/Release/*.dll |
58 |
+ if use developer; then |
59 |
+ doins Source/PashConsole/bin/Release/*.pdb |
60 |
+ fi |
61 |
+ make_wrapper pash "mono /usr/lib/pash/Pash.exe" |
62 |
+} |