xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-connectivity/ifplugd/ifplugd_0.28.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "ifplugd is a Linux daemon which will automatically configure your ethernet device \
2*4882a593Smuzhiyunwhen a cable is plugged in and automatically unconfigure it if the cable is pulled."
3*4882a593SmuzhiyunHOMEPAGE = "http://0pointer.de/lennart/projects/ifplugd/"
4*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=94d55d512a9ba36caa9b7df079bae19f"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunDEPENDS = "libdaemon"
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunSRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz \
10*4882a593Smuzhiyun           file://0001-src-interface.h-Make-declarations-as-extern.patch \
11*4882a593Smuzhiyun          "
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunSRC_URI:append:libc-musl = " file://Fix-build-with-musl.patch"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSRC_URI[md5sum] = "df6f4bab52f46ffd6eb1f5912d4ccee3"
16*4882a593SmuzhiyunSRC_URI[sha256sum] = "474754ac4ab32d738cbf2a4a3e87ee0a2c71b9048a38bdcd7df1e4f9fd6541f0"
17*4882a593Smuzhiyun
18*4882a593Smuzhiyuninherit autotools update-rc.d pkgconfig
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunEXTRA_OECONF = "--disable-lynx --with-initdir=${sysconfdir}/init.d"
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunINITSCRIPT_NAME = "ifplugd"
23*4882a593SmuzhiyunINITSCRIPT_PARAMS = "defaults"
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunCONFFILES:${PN} = "${sysconfdir}/ifplugd/ifplugd.conf"
26*4882a593Smuzhiyun
27*4882a593SmuzhiyunRDEPENDS:${PN} += "bash"
28