summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/sgpio/sgpio_1.2.0.10.bb
blob: 0628c1d586cbce9b0711da3e0a2b17ef4bcab0f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
SUMMARY = "SGPIO captive backplane tool"
HOMEPAGE = "http://sources.redhat.com/lvm2/wiki/DMRAID_Eventing"
DESCRIPTION = "Intel SGPIO enclosure management utility"

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 \
           file://Makefile-error-fix.patch \
           file://0001-makefile-Add-LDFLAGS-to-linking-rule.patch \
           "
SRC_URI[md5sum] = "a417bf68da4e9bd79a4664c11d7debd1"
SRC_URI[sha256sum] = "9bf8c42acaa247efd9321bdb1fc2390022f0c554d77fbbd4a7363d990fc0270b"

S = "${WORKDIR}/${BPN}"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE_GPL;md5=393a5ca445f6965873eca0259a17f833"

do_compile:prepend() {
    oe_runmake clean
}

do_install() {
    oe_runmake install \
        INSTALL="/usr/bin/install -p" \
        DESTDIR=${D} \
        SBIN_DIR=${D}/${sbindir} \
        MANDIR=${D}/${mandir}
}