powershell-bin: new ebuild, required by empire

This commit is contained in:
blshkv 2018-12-16 21:52:42 +08:00
parent 12e46d349b
commit 1b8bd114b1
No known key found for this signature in database
GPG key ID: 273E3E90D1A6294F
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST powershell-6.1.1-1.rhel.7.x86_64.rpm 57714726 BLAKE2B 828f976232b789edf84c0bc2638cba379d2e6ec667122866192401876f360332d3f37922df6c18f6f06959d23a09af31ea8c56a8fd8583b7b67ecb6d5d725a7b SHA512 1bc88bb56311d053f6a69d50e3309f2add9cd4a186348c9aaea844eb54853ecbeaa7128dda2cfccf926a42afa8f359d63aae24039399170f3f6360d92a0d25e7

View file

@ -0,0 +1,32 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit rpm
DESCRIPTION="A cross-platform automation and configuration tool/framework"
HOMEPAGE="https://github.com/Powershell/Powershell"
#SRC_URI="https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-linux-x64.tar.gz"
#https://github.com/PowerShell/PowerShell/releases/download/v6.1.1/powershell_6.1.1-1.ubuntu.16.04_amd64.deb
SRC_URI="
amd64? ( https://github.com/PowerShell/PowerShell/releases/download/v${PV}/powershell-${PV}-1.rhel.7.x86_64.rpm )
"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}
dev-libs/icu
sys-libs/libunwind
dev-libs/openssl-chacha"
S="${WORKDIR}"
src_install() {
# Using doins -r would strip executable bits from all binaries
cp -pPR "${S}"/{opt,usr/bin} "${D}"/ || die "Failed to copy files"
}

View file

@ -3,3 +3,5 @@
#~app-eselect/eselect-ruby-20161226
=dev-lang/go-1.8*
dev-lang/powershell-bin