summaryrefslogtreecommitdiff
path: root/meta-google/recipes-extended/libconfig/conf2struct-native_git.bb
blob: ab5c3d8297bb04bfbe055c36b0ba4cef3fdaec29 (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=667d4ad55f5fbf4c3e853e8acd0f74de"

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
}