aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb
blob: 3e6a01de87a124c2a3f8b9476bf511e6f8fb48c0 (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
DESCRIPTION = "ifplugd is a Linux daemon which will automatically configure your ethernet device \
when a cable is plugged in and automatically unconfigure it if the cable is pulled."
HOMEPAGE = "http://0pointer.de/lennart/projects/ifplugd/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"

DEPENDS = "libdaemon"

SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz \
           file://0001-src-interface.h-Make-declarations-as-extern.patch \
          "

SRC_URI:append:libc-musl = " file://Fix-build-with-musl.patch"

SRC_URI[md5sum] = "df6f4bab52f46ffd6eb1f5912d4ccee3"
SRC_URI[sha256sum] = "474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0"

inherit autotools update-rc.d pkgconfig

EXTRA_OECONF = "--disable-lynx --with-initdir=${sysconfdir}/init.d"

INITSCRIPT_NAME = "ifplugd"
INITSCRIPT_PARAMS = "defaults"

CONFFILES:${PN} = "${sysconfdir}/ifplugd/ifplugd.conf"

RDEPENDS:${PN} += "bash"