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