mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
powershell-bin: fix symlinks
This commit is contained in:
parent
88ac565025
commit
86a4ef6014
4 changed files with 8 additions and 62 deletions
|
|
@ -1,3 +1 @@
|
|||
DIST powershell-6.1.1-1.rhel.7.x86_64.rpm 57714726 BLAKE2B 828f976232b789edf84c0bc2638cba379d2e6ec667122866192401876f360332d3f37922df6c18f6f06959d23a09af31ea8c56a8fd8583b7b67ecb6d5d725a7b SHA512 1bc88bb56311d053f6a69d50e3309f2add9cd4a186348c9aaea844eb54853ecbeaa7128dda2cfccf926a42afa8f359d63aae24039399170f3f6360d92a0d25e7
|
||||
DIST powershell-6.1.3-1.rhel.7.x86_64.rpm 57514559 BLAKE2B 355a237d5c393daf523a6ece2ee018c77457aa3093105ddf56c7d4d075e48aced322e05465140225d2a9394b8fd0f6e802658b0a51d767ee0f8a0b2c9365b6e6 SHA512 973248b56de67309d44569ae5e42b4ae9e4dd44385ce278d9c7206138477006810e9818dc9bc0d52b172b0436f041f7edf1d763821229487d07e77755a061a09
|
||||
DIST powershell-6.2.0-1.rhel.7.x86_64.rpm 57456764 BLAKE2B 08ceb70857eac402565e374fbc5270e6f8c63b8314b61bfb41dd8c29f6a196509229b46cd9f193df0102bb685c2b6ed7c6c7d12a788b83bf770da47abf1d4880 SHA512 5224556f259c95e23932f7dff90371eabfe6e5420383d59435f56f953a222dd641452ce29675d68e3631faef43c060dd0318e0a602e1701a07dd821f5137dd3d
|
||||
|
|
|
|||
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit rpm
|
||||
|
||||
DESCRIPTION="A cross-platform automation and configuration tool/framework"
|
||||
HOMEPAGE="https://github.com/Powershell/Powershell"
|
||||
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-1.0* dev-libs/openssl:1.0.0 )"
|
||||
|
||||
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"
|
||||
}
|
||||
|
|
@ -24,7 +24,15 @@ RDEPEND="${DEPEND}
|
|||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
#fix symlinks
|
||||
rm opt/microsoft/powershell/6/{libcrypto.so.1.0.0,libssl.so.1.0.0}
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Using doins -r would strip executable bits from all binaries
|
||||
cp -pPR "${S}"/{opt,usr/bin} "${D}"/ || die "Failed to copy files"
|
||||
dosym "${EPREFIX}/usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/microsoft/powershell/6/libcrypto.so.1.0.0
|
||||
dosym "${EPREFIX}/usr/$(get_libdir)/libssl.so.1.0.0" /opt/microsoft/powershell/6/libssl.so.1.0.0
|
||||
}
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit rpm
|
||||
|
||||
DESCRIPTION="A cross-platform automation and configuration tool/framework"
|
||||
HOMEPAGE="https://github.com/Powershell/Powershell"
|
||||
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-1.0* dev-libs/openssl:1.0.0 )"
|
||||
|
||||
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"
|
||||
}
|
||||
Loading…
Reference in a new issue