aboutsummaryrefslogtreecommitdiff
path: root/meta-yerba/recipes-connectivity/openresolv/openresolv_3.17.4.bb
blob: ff5fc1cebd561f24e483189f2d0000dc1366675e (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
33
34
35
36
37
38
39
40
41
42
43
SUMMARY = "openresolv is a resolvconf implementation which manages /etc/resolv.conf."
DESCRIPTION = "openresolv is a resolvconf implementation which manages /etc/resolv.conf."
HOMEPAGE = "https://github.com/NetworkConfiguration/openresolv"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM="file://LICENSE;md5=b612f9979838f6126283eec15dfadb86"

SRC_URI="git://github.com/NetworkConfiguration/openresolv;protocol=https;branch=master"
SRCREV="6489889ce5631364ad2f17d391e1a3ad969619f2"
S = "${WORKDIR}/git"

PROVIDES += "openresolv"

inherit autotools

EXTRA_OECONF="--sysconfdir=${sysconfdir} --localstatedir=${localstatedir}"

do_configure() {
    cd ${S}
    ./configure \
        --prefix=${prefix} \
        --sysconfdir=${sysconfdir} \
        --localstatedir=${localstatedir} \
        --mandir=${mandir}
}

do_compile() {
    cd ${S}
    oe_runmake
}

do_install() {
    cd ${S}
    oe_runmake install DESTDIR=${D}
}

FILES:${PN} = " \
    ${bindir}/* \
    ${sbindir}/* \
    ${sysconfdir}/* \
    ${libexecdir}/* \
    ${libdir}/* \
    ${prefix}${libdir}/* \
"