summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libuio/libuio_git.bb
blob: 216c6781d940b32edcad4c88a2c28be64c8772fd (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
28
29
30
31
SUMMARY = "libUIO"
DESCRIPTION = "Provide a generic framework for handling devices in userspace."
HOMEPAGE = "https://www.osadl.org/UIO.uio.0.html"
SECTION = "libs"
LICENSE = "GPLv2"

LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"

SRCREV = "cc233857ba1613801e7218d07127d19608a99702"
PR = "r0"
PV = "1.0+git${SRCPV}"

SRC_URI = "git://git.linutronix.de/projects/libUIO;protocol=git \
           file://run-ptest"

DEPENDS = "virtual/libc"

S = "${WORKDIR}/git"

inherit autotools

do_configure_prepend () {
    touch ${S}/ChangeLog
}

do_install_append () {
        if [ "${PN}" = "${BPN}" -a ${PTEST_ENABLED} = "1" ]; then
            mkdir -p ${D}${PTEST_PATH}
            install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}
        fi
}