megacli: update debian packaging

This commit is contained in:
Adam Cécile (Le_Vert) 2014-01-26 01:44:56 +01:00
parent 3f453fdd10
commit 4a8375f388
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
megacli (8.07.14-1) unstable; urgency=medium
* New upstream release.
-- Adam Cécile (Le_Vert) <gandalf@le-vert.net> Sun, 26 Jan 2014 00:40:52 +0100
megacli (8.04.07-1) unstable; urgency=low
* New upstream release (Closes: #221).

View File

@ -3,7 +3,7 @@ Section: admin
Priority: optional
Maintainer: Adam Cécile (Le_Vert) <gandalf@le-vert.net>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.9.3
Standards-Version: 3.9.5
Homepage: http://www.lsi.com/support/Pages/Download-Results.aspx?keyword=megacli
Package: megacli

7
rules
View File

@ -22,18 +22,19 @@ install: build
install $(CURDIR)/debian/megacli.wrapper $(CURDIR)/debian/megacli/usr/sbin/megacli
ifeq ($(DEB_BUILD_ARCH),amd64)
install $(CURDIR)/opt/MegaRAID/MegaCli/MegaCli64 $(CURDIR)/debian/megacli/usr/lib/megacli/megacli.real
install $(CURDIR)/opt/lsi/3rdpartylibs/x86_64/libsysfs.so.2.0.2 $(CURDIR)/debian/megacli/usr/lib/megacli/libsysfs.so.2.0.2
install $(CURDIR)/opt/MegaRAID/MegaCli/libstorelibir-2.so.14.07-0 $(CURDIR)/debian/megacli/usr/lib/megacli/libstorelibir-2.so.14.07-0
endif
ifeq ($(DEB_BUILD_ARCH),i386)
install $(CURDIR)/opt/MegaRAID/MegaCli/MegaCli $(CURDIR)/debian/megacli/usr/lib/megacli/megacli.real
install $(CURDIR)/opt/lsi/3rdpartylibs/libsysfs.so.2.0.2 $(CURDIR)/debian/megacli/usr/lib/megacli/libsysfs.so.2.0.2
# Seem to be x64 only
#install $(CURDIR)/opt/MegaRAID/MegaCli/libstorelibir-2.so.14.07-0 $(CURDIR)/debian/megacli/usr/lib/megacli/libstorelibir-2.so.14.07-0
endif
binary-indep:
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs 8.04.07_MegaCLI.txt
dh_installchangelogs 8.07.14_MegaCLI.txt
dh_installdocs
dh_compress
dh_fixperms