Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "SGPIO captive backplane tool" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | HOMEPAGE = "http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 3 | DESCRIPTION = "Intel SGPIO enclosure management utility" |
| 4 | |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 5 | SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BPN}-1.2-0.10-src.tar.gz/a417bf68da4e9bd79a4664c11d7debd1/${BPN}-1.2-0.10-src.tar.gz \ |
| 6 | file://Makefile-error-fix.patch \ |
| 7 | file://0001-makefile-Add-LDFLAGS-to-linking-rule.patch \ |
| 8 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | SRC_URI[md5sum] = "a417bf68da4e9bd79a4664c11d7debd1" |
| 10 | SRC_URI[sha256sum] = "9bf8c42acaa247efd9321bdb1fc2390022f0c554d77fbbd4a7363d990fc0270b" |
| 11 | |
| 12 | S = "${WORKDIR}/${BPN}" |
| 13 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 14 | LICENSE = "GPL-2.0-or-later" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | LIC_FILES_CHKSUM = "file://LICENSE_GPL;md5=393a5ca445f6965873eca0259a17f833" |
| 16 | |
Patrick Williams | e760df8 | 2023-05-26 11:10:49 -0500 | [diff] [blame] | 17 | EXTRA_OEMAKE = "CFLAGS='${CFLAGS}'" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 18 | do_compile:prepend() { |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 19 | oe_runmake clean |
| 20 | } |
| 21 | |
| 22 | do_install() { |
| 23 | oe_runmake install \ |
| 24 | INSTALL="/usr/bin/install -p" \ |
| 25 | DESTDIR=${D} \ |
| 26 | SBIN_DIR=${D}/${sbindir} \ |
| 27 | MANDIR=${D}/${mandir} |
| 28 | } |