summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/iotools/iotools_1.5.bb
blob: f2f41d1241959b5ffcb71f862584380e49fe93f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "A suite of tools for reading and writing hardware registers"
HOMEPAGE = "https://code.google.com/p/iotools/"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"

SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/iotools/iotools-1.5.tar.gz"

SRC_URI[md5sum] = "64c27488a70866577cf99044aa01e28d"
SRC_URI[sha256sum] = "3186ba296072f644dda881b78d77e3774b79e8cef3e828fffc947d558b08830d"

CFLAGS += ' -static -D_GNU_SOURCE -DVER_MAJOR=1 -DVER_MINOR=5'

do_install () {
    install -d ${D}${sbindir}
    oe_runmake SBINDIR=${D}${sbindir} install
    #The Makefile installs files with "cp -a" which preserves ownership
    #of user running bitbake resulting in QA Issue "host-user-contaminated"
    #Fixup permissions
    chown -R root:root ${D}${sbindir}
}