xref: /openbmc/openbmc/meta-google/recipes-extended/libconfig/conf2struct-native_git.bb (revision a2fca4bdb1fedeb2af8176bb12455f8fe04e5ebd)
1*a2fca4bdSAndrew JefferyLICENSE = "BSD-2-Clause"
2e3f1bd88SWilliam A. Kennington IIILIC_FILES_CHKSUM = "file://COPYING;md5=667d4ad55f5fbf4c3e853e8acd0f74de"
3b2c5306aSWilliam A. Kennington III
4b2c5306aSWilliam A. Kennington IIIPV = "0.1+git${SRCPV}"
5bb99d22eSPatrick WilliamsSRC_URI = "git://github.com/yrutschle/conf2struct;branch=master;protocol=https"
632e3f01dSWilliam A. Kennington IIISRCREV = "6bc9eed1eb50175e5fda791f27d85e72f5a6ac78"
7b2c5306aSWilliam A. Kennington IIIS = "${WORKDIR}/git"
8b2c5306aSWilliam A. Kennington III
9b2c5306aSWilliam A. Kennington IIISRC_URI += " \
10b2c5306aSWilliam A. Kennington III  file://0001-makefile-Add-missing-LDFLAGS.patch \
11b2c5306aSWilliam A. Kennington III  file://0001-conf2struct-Use-the-right-perl.patch \
12b2c5306aSWilliam A. Kennington III  "
13b2c5306aSWilliam A. Kennington III
14b2c5306aSWilliam A. Kennington IIIinherit native
15b2c5306aSWilliam A. Kennington III
16b2c5306aSWilliam A. Kennington IIIDEPENDS += " \
17b2c5306aSWilliam A. Kennington III  libconfig-native \
18b2c5306aSWilliam A. Kennington III  libconfig-perl-native \
19b2c5306aSWilliam A. Kennington III  "
20b2c5306aSWilliam A. Kennington III
21b2c5306aSWilliam A. Kennington IIIEXTRA_OEMAKE += " \
22b2c5306aSWilliam A. Kennington III  DESTDIR=${D} \
23b2c5306aSWilliam A. Kennington III  prefix=${prefix} \
24b2c5306aSWilliam A. Kennington III  "
25b2c5306aSWilliam A. Kennington III
26b2c5306aSWilliam A. Kennington IIIdo_compile() {
27b2c5306aSWilliam A. Kennington III    oe_runmake checker
28b2c5306aSWilliam A. Kennington III}
29b2c5306aSWilliam A. Kennington III
30b2c5306aSWilliam A. Kennington IIIdo_install() {
31b2c5306aSWilliam A. Kennington III    oe_runmake install
32b2c5306aSWilliam A. Kennington III}
33