1 # Maintainer: Kyle Sexton <ks@mocker.org>
6 pkgdesc="CLI program for LSI MegaRAID cards, also works with some Dell PERC RAID cards."
8 url="http://www.lsi.com"
11 makedepends=('rpmextract' 'unzip')
12 provides=('megaraid-cli')
13 conflicts=('megaraid-cli')
15 _fileroot="http://www.lsi.com/DistributionSystem/User/AssetMgr.aspx?asset=56682"
16 _filename="8.00.46_Linux_MegaCLI.zip"
21 msg "Downloading package from LSI...."
23 wget $_fileroot -O $_filename
25 msg "Extracting zip archive"
28 msg "Extracting zip archive"
29 unzip -o MegaCliLin.zip
31 msg "Extracting files from RPM"
32 rpmextract.sh MegaCli*.rpm
34 install -d $pkgdir/opt/MegaRAID/MegaCli
35 cp $srcdir/opt/MegaRAID/MegaCli/* $pkgdir/opt/MegaRAID/MegaCli