Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 641982
Collapse All | Expand All

(-)hpssacli-2.40.13.0-r1.ebuild (-8 / +8 lines)
Lines 8-21 Link Here
8
MY_PV=$(replace_version_separator 2 '-')
8
MY_PV=$(replace_version_separator 2 '-')
9
9
10
DESCRIPTION="HPE Smart Storage Administrator (HPE SSA) CLI (HPSSACLI, formerly HPACUCLI)"
10
DESCRIPTION="HPE Smart Storage Administrator (HPE SSA) CLI (HPSSACLI, formerly HPACUCLI)"
11
HOMEPAGE="http://h20564.www2.hpe.com/hpsc/swd/public/detail?swItemId=MTX_04bffb688a73438598fef81ddd"
11
HOMEPAGE="https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_5530b3f5b38b4e0781e6bf9c74"
12
SRC_URI="
12
SRC_URI="https://downloads.linux.hpe.com/SDR/repo/spp/2017.10.1/packages/ssacli-${MY_PV}.x86_64.rpm"
13
	amd64? ( https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/x86_64/current/${PN}-${MY_PV}.x86_64.rpm )
14
	x86? ( https://downloads.linux.hpe.com/SDR/repo/spp/RHEL/6/i686/current/${PN}-${MY_PV}.i386.rpm )"
15
13
16
LICENSE="hpe"
14
LICENSE="hpe"
17
SLOT="0"
15
SLOT="0"
18
KEYWORDS="-* amd64 x86"
16
KEYWORDS="-* amd64"
19
IUSE=""
17
IUSE=""
20
18
21
DEPEND=""
19
DEPEND=""
Lines 40-48 Link Here
40
	default
38
	default
41
39
42
	# Create a clean $S
40
	# Create a clean $S
43
	mv "${WORKDIR}"/opt/hp/hpssacli/bld/hpss* "${S}" || die "Failed to to copy 'hpss*' related files"
41
	mv "${WORKDIR}"/opt/smartstorageadmin/ssacli/bin/ssa* "${S}" || die "Failed to to copy 'ssa*' related files"
44
	mv "${S}"/hpssacli.license "${S}"/license.txt || die "Renaming hpssacli.license failed!"
42
	mv "${S}"/ssacli "${S}"/hpssacli || die "Renaming ssacli failed!"
45
	mv "${S}"/hpssacli*.txt "${S}"/readme.txt || die "Renaming hpssacli*.txt failed!"
43
	mv "${S}"/ssascripting "${S}"/hpssascripting || die "Renaming ssascripting failed!"
44
	mv "${S}"/ssacli.license "${S}"/license.txt || die "Renaming ssacli.license failed!"
45
	mv "${S}"/ssacli*.txt "${S}"/readme.txt || die "Renaming ssacli*.txt failed!"
46
	rm -rf "${WORKDIR}"/opt || die "Failed to cleanup '${WORKDIR}/opt'"
46
	rm -rf "${WORKDIR}"/opt || die "Failed to cleanup '${WORKDIR}/opt'"
47
	rm -rf "${WORKDIR}"/usr || die "Failed to cleanup '${WORKDIR}/usr'"
47
	rm -rf "${WORKDIR}"/usr || die "Failed to cleanup '${WORKDIR}/usr'"
48
}
48
}

Return to bug 641982