aboutsummaryrefslogtreecommitdiff
blob: 56c17833ad64885b550fb426b7ef7908aa0d06d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

# @ECLASS: mpt-r20150903.eclass
# @MAINTAINER: cynede@gentoo.org
# @BLURB: wrappers for mono-packaging-tools package
# @DESCRIPTION:
# This eclass include function wrappers

#inherit eutils versionator mono-env dotnet

TOOLS_PATH=/usr/bin

DEPEND+=" >=dev-util/mono-packaging-tools-1.4.3"

# @FUNCTION: empt-gitmodules
# @DESCRIPTION:  wraps mpt-gitmodules
empt-gitmodules() {
	"${TOOLS_PATH}/mpt-gitmodules" $@ || die
}

# @FUNCTION: empt-sln
# @DESCRIPTION:  wraps mpt-sln
empt-sln() {
	"${TOOLS_PATH}/mpt-sln" $@ || die
}

# @FUNCTION: empt-csproj
# @DESCRIPTION:  wraps mpt-csproj
empt-csproj() {
	"${TOOLS_PATH}/mpt-csproj" $@ || die
}

# @FUNCTION: empt-machine
# @DESCRIPTION:  wraps mpt-machine
empt-machine() {
	"${TOOLS_PATH}/mpt-machine" $@ || die
}

# @FUNCTION: empt-nuget
# @DESCRIPTION:  wraps empt-nuget
empt-nuget() {
	"${TOOLS_PATH}/mpt-nuget" $@ || die
}