16a62e0e0SBrad BishopDESCRIPTION = "ifplugd is a Linux daemon which will automatically configure your ethernet device \ 26a62e0e0SBrad Bishopwhen a cable is plugged in and automatically unconfigure it if the cable is pulled." 36a62e0e0SBrad BishopHOMEPAGE = "http://0pointer.de/lennart/projects/ifplugd/" 4*9aee5003SAndrew GeisslerLICENSE = "GPL-2.0-only" 56a62e0e0SBrad BishopLIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f" 66a62e0e0SBrad Bishop 76a62e0e0SBrad BishopDEPENDS = "libdaemon" 86a62e0e0SBrad Bishop 9bffdb3e0SAndrew GeisslerSRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz \ 10bffdb3e0SAndrew Geissler file://0001-src-interface.h-Make-declarations-as-extern.patch \ 11bffdb3e0SAndrew Geissler " 126a62e0e0SBrad Bishop 13213cb269SPatrick WilliamsSRC_URI:append:libc-musl = " file://Fix-build-with-musl.patch" 146a62e0e0SBrad Bishop 156a62e0e0SBrad BishopSRC_URI[md5sum] = "df6f4bab52f46ffd6eb1f5912d4ccee3" 166a62e0e0SBrad BishopSRC_URI[sha256sum] = "474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0" 176a62e0e0SBrad Bishop 186a62e0e0SBrad Bishopinherit autotools update-rc.d pkgconfig 196a62e0e0SBrad Bishop 206a62e0e0SBrad BishopEXTRA_OECONF = "--disable-lynx --with-initdir=${sysconfdir}/init.d" 216a62e0e0SBrad Bishop 226a62e0e0SBrad BishopINITSCRIPT_NAME = "ifplugd" 236a62e0e0SBrad BishopINITSCRIPT_PARAMS = "defaults" 246a62e0e0SBrad Bishop 25213cb269SPatrick WilliamsCONFFILES:${PN} = "${sysconfdir}/ifplugd/ifplugd.conf" 266a62e0e0SBrad Bishop 27213cb269SPatrick WilliamsRDEPENDS:${PN} += "bash" 28