summaryrefslogtreecommitdiff
path: root/packages/netkit-rpc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/netkit-rpc')
-rw-r--r--packages/netkit-rpc/netkit-rpc_0.17.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/netkit-rpc/netkit-rpc_0.17.bb b/packages/netkit-rpc/netkit-rpc_0.17.bb
index e69de29bb2..0e0287c041 100644
--- a/packages/netkit-rpc/netkit-rpc_0.17.bb
+++ b/packages/netkit-rpc/netkit-rpc_0.17.bb
@@ -0,0 +1,39 @@
+SECTION = "console/network"
+DESCRIPTION = "netkit-rpc includes rpcgen and rpcinfo."
+PR = "r1"
+LICENSE = "GPL"
+SRC_URI = "ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-rpc-${PV}.tar.gz \
+ file://gcc4.patch;patch=1 \
+ file://install.patch;patch=1"
+S = "${WORKDIR}/netkit-rpc-${PV}"
+
+EXTRA_OEMAKE = ""
+do_configure () {
+ cat <<END >MCONFIG
+BINDIR=${bindir}
+SBINDIR=${sbindir}
+MANDIR=${mandir}
+ROOTBINDIR=/bin
+BINMODE=755
+DAEMONMODE=755
+MANMODE=644
+SUIDMODE=4755
+PREFIX=${prefix}
+EXECPREFIX=${exec_prefix}
+ROOTPREFIX=
+INSTALLROOT=
+CC=${CC}
+LD=${LD}
+CFLAGS=${CFLAGS}
+LDFLAGS=${LDFLAGS}
+LIBS=
+END
+}
+
+do_compile () {
+ oe_runmake all
+}
+
+do_install () {
+ oe_runmake 'INSTALLROOT=${D}' install
+}