diff options
Diffstat (limited to 'meta-extras/packages/dhcdbd/dhcdbd_2.0.bb')
-rw-r--r-- | meta-extras/packages/dhcdbd/dhcdbd_2.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-extras/packages/dhcdbd/dhcdbd_2.0.bb b/meta-extras/packages/dhcdbd/dhcdbd_2.0.bb new file mode 100644 index 0000000000..de9e24abd5 --- /dev/null +++ b/meta-extras/packages/dhcdbd/dhcdbd_2.0.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION="DBus-enabled dhcp client" | ||
2 | SECTION="net" | ||
3 | LICENSE="GPL" | ||
4 | HOMEPAGE="http://people.redhat.com/jvdias/dhcdbd/" | ||
5 | |||
6 | DEPENDS = "dbus" | ||
7 | RDEPENDS = "dhcp-client" | ||
8 | |||
9 | PR = "r0" | ||
10 | |||
11 | SRC_URI="http://people.redhat.com/dcantrel/dhcdbd/dhcdbd-${PV}.tar.bz2 \ | ||
12 | file://no-ext-options.patch;patch=1 \ | ||
13 | file://dhcdbd" | ||
14 | |||
15 | do_compile() { | ||
16 | CC=${TARGET_SYS}-gcc DESTDIR=${prefix} make | ||
17 | } | ||
18 | |||
19 | do_install() { | ||
20 | DESTDIR=${D} make install | ||
21 | install -d ${D}/etc/init.d | ||
22 | install -m 0755 ${WORKDIR}/dhcdbd ${D}/etc/init.d/ | ||
23 | } | ||
24 | |||
25 | FILES_${PN} += "${sysconfdir} ${datadir}/dbus-1 ${base_sbindir}/*" | ||