aboutsummaryrefslogtreecommitdiffstats
path: root/ifplugd
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
committerChris Larson <clarson@kergoth.com>2004-03-13 05:42:36 +0000
commit06f7d17e81de21a95e35b03453242bc62b05a6aa (patch)
treebc9c53bce2c6a2fdce3caf5bb45bc3f8634b56be /ifplugd
parent4b022a36ced4930af6bcdeb7d75a5ed10c4ac9cd (diff)
downloadopenembedded-06f7d17e81de21a95e35b03453242bc62b05a6aa.tar.gz
First pass of .oe cleanups.
BKrev: 40529f4crFtRY5_1DubNmWhDeHSmPw
Diffstat (limited to 'ifplugd')
-rw-r--r--ifplugd/ifplugd_0.20.oe23
1 files changed, 23 insertions, 0 deletions
diff --git a/ifplugd/ifplugd_0.20.oe b/ifplugd/ifplugd_0.20.oe
index e69de29bb2..7d381bfa62 100644
--- a/ifplugd/ifplugd_0.20.oe
+++ b/ifplugd/ifplugd_0.20.oe
@@ -0,0 +1,23 @@
+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."
+DEPENDS = "virtual/libc libdaemon"
+RDEPENDS = "libc6 libdaemon"
+
+SRC_URI = http://0pointer.de/lennart/projects/ifplugd/ifplugd-${PV}.tar.gz
+
+inherit autotools
+
+EXTRA_OECONF = --disable-lynx
+
+pkg_postinst () {
+ if test -n "$D"; then
+ D="-r $D"
+ fi
+ update-rc.d $D ifplugd defaults
+}
+
+pkg_prerm () {
+ if test -n "$D"; then
+ D="-r $D"
+ fi
+ update-rc.d $D ifplugd remove
+}