summaryrefslogtreecommitdiff
path: root/meta-google/recipes-extended/libconfig/conf2struct-native_git.bb
blob: cf7f6f3053d532285f86f7b7210e72ee102b1479 (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
32
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=1b886630cdc9a17c26250934beda407d"

PV = "0.1+git${SRCPV}"
SRC_URI = "git://github.com/yrutschle/conf2struct"
SRCREV = "6bc9eed1eb50175e5fda791f27d85e72f5a6ac78"
S = "${WORKDIR}/git"

SRC_URI += " \
  file://0001-makefile-Add-missing-LDFLAGS.patch \
  file://0001-conf2struct-Use-the-right-perl.patch \
  "

inherit native

DEPENDS += " \
  libconfig-native \
  libconfig-perl-native \
  "

EXTRA_OEMAKE += " \
  DESTDIR=${D} \
  prefix=${prefix} \
  "

do_compile() {
    oe_runmake checker
}

do_install() {
    oe_runmake install
}