Brad Bishop | 6a62e0e | 2019-10-21 08:11:42 -0400 | [diff] [blame^] | 1 | DESCRIPTION = "ifplugd is a Linux daemon which will automatically configure your ethernet device \ |
| 2 | when a cable is plugged in and automatically unconfigure it if the cable is pulled." |
| 3 | HOMEPAGE = "http://0pointer.de/lennart/projects/ifplugd/" |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 6 | |
| 7 | DEPENDS = "libdaemon" |
| 8 | |
| 9 | SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz" |
| 10 | |
| 11 | SRC_URI_append_libc-musl = " file://Fix-build-with-musl.patch" |
| 12 | |
| 13 | SRC_URI[md5sum] = "df6f4bab52f46ffd6eb1f5912d4ccee3" |
| 14 | SRC_URI[sha256sum] = "474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0" |
| 15 | |
| 16 | inherit autotools update-rc.d pkgconfig |
| 17 | |
| 18 | EXTRA_OECONF = "--disable-lynx --with-initdir=${sysconfdir}/init.d" |
| 19 | |
| 20 | INITSCRIPT_NAME = "ifplugd" |
| 21 | INITSCRIPT_PARAMS = "defaults" |
| 22 | |
| 23 | CONFFILES_${PN} = "${sysconfdir}/ifplugd/ifplugd.conf" |
| 24 | |
| 25 | RDEPENDS_${PN} += "bash" |