diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-01 04:58:44 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-01 04:58:44 +0000 |
commit | c79a134ba8119c8e0cad78663e1b05bd7fab3120 (patch) | |
tree | 7a64d4ca0b680e3f7e8c691f6dc84fd50d24c852 /udhcp | |
parent | 36be315fe64e9c0299a8766292e6b2054e41b4ee (diff) |
Fix the udhcp build, split out udhcpc and udhcpd packages.
BKrev: 41ad4f84JDfFhlNaEHMk4LjrG62wsg
Diffstat (limited to 'udhcp')
-rw-r--r-- | udhcp/files/gcc3.patch | 0 | ||||
-rw-r--r-- | udhcp/files/install.patch | 0 | ||||
-rw-r--r-- | udhcp/files/nostrip.patch | 0 | ||||
-rw-r--r-- | udhcp/udhcp_0.9.8.oe | 30 |
4 files changed, 30 insertions, 0 deletions
diff --git a/udhcp/files/gcc3.patch b/udhcp/files/gcc3.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/udhcp/files/gcc3.patch diff --git a/udhcp/files/install.patch b/udhcp/files/install.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/udhcp/files/install.patch diff --git a/udhcp/files/nostrip.patch b/udhcp/files/nostrip.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/udhcp/files/nostrip.patch diff --git a/udhcp/udhcp_0.9.8.oe b/udhcp/udhcp_0.9.8.oe index e69de29bb2..98f257a603 100644 --- a/udhcp/udhcp_0.9.8.oe +++ b/udhcp/udhcp_0.9.8.oe @@ -0,0 +1,30 @@ +SECTION = "console/network" +DESCRIPTION = "Small dhcp client and dhcp server. Designed for embedded use." +HOMEPAGE = "http://udhcp.busybox.net/" +MAINTAINER = "Chris Larson <kergoth@handhelds.org>" +LICENSE = "GPL" + +SRC_URI = "http://udhcp.busybox.net/source/udhcp-${PV}.tar.gz \ + file://install.patch;patch=1 \ + file://nostrip.patch;patch=1 \ + file://gcc3.patch;patch=1" + +inherit autotools + +CFLAGS =+ "-UDEFAULT_SCRIPT -DDEFAULT_SCRIPT=\"${datadir}/udhcpc/default.script\" \ + -DVERSION=\"${PV}\"" +EXTRA_OEMAKE = "'CC=${CC}' 'LD=${CCLD}' \ + 'CFLAGS=${CFLAGS}' 'LDFLAGS=${LDFLAGS}' \ + 'prefix=${prefix}' 'sbindir=/sbin' \ + 'usrsbindir=${sbindir}' \ + 'usrbindir=${bindir}' \ + 'datadir=${datadir}'" + +PACKAGES = "udhcpc udhcpc-doc udhcpd udhcpd-doc" +FILES_udhcpc = "/sbin/udhcpc ${datadir}/udhcpc" +FILES_udhcpc-doc = "${mandir}/man8/udhcpc.8" +FILES_udhcpd = "${sbindir}/udhcpd \ + ${bindir}/dumpleases" +FILES_udhcpd-doc = "${mandir}/man1/dumpleases.1 \ + ${mandir}/man8/udhcpd.8 \ + ${mandir}/man5/udhcpd.conf.5" |