Another pass of .oe cleanups.
[vuplus_openembedded] / ifplugd / ifplugd_0.20.oe
1 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."
2 DEPENDS = "virtual/libc libdaemon"
3 RDEPENDS = "libc6 libdaemon"
4
5 SRC_URI = "http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz"
6
7 inherit autotools
8
9 EXTRA_OECONF = "--disable-lynx"
10
11 pkg_postinst () {
12         if test -n "$D"; then
13                 D="-r $D"
14         fi
15         update-rc.d $D ifplugd defaults
16 }
17
18 pkg_prerm () {
19         if test -n "$D"; then
20                 D="-r $D"
21         fi
22         update-rc.d $D ifplugd remove
23 }