diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-20 03:25:12 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-20 03:25:12 +0000 |
commit | 12de9e3cbc79276dd49113b25dac808c4aa7db15 (patch) | |
tree | 34e96b3677b304a50cbfa4c9ce7a39f3ea43c743 | |
parent | d31647dd584e5e1052ea1f6df43d3f11efc75e6a (diff) |
Unbork netkit-rpc installation of the rpcinfo man page.
BKrev: 419eb9180TmgmqyyRYYhkY_HHrxzzw
-rw-r--r-- | netkit-rpc/netkit-rpc/install.patch | 29 | ||||
-rw-r--r-- | netkit-rpc/netkit-rpc_0.17.oe | 39 |
2 files changed, 68 insertions, 0 deletions
diff --git a/netkit-rpc/netkit-rpc/install.patch b/netkit-rpc/netkit-rpc/install.patch index e69de29bb2..6b45c4d761 100644 --- a/netkit-rpc/netkit-rpc/install.patch +++ b/netkit-rpc/netkit-rpc/install.patch @@ -0,0 +1,29 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- netkit-rpc-0.17/rpcgen/Makefile~install.patch ++++ netkit-rpc-0.17/rpcgen/Makefile +@@ -13,7 +13,9 @@ + rpc_main.o: ../version.h + + install: rpcgen ++ install -d $(INSTALLROOT)$(BINDIR) + install -s -m$(BINMODE) rpcgen $(INSTALLROOT)$(BINDIR) ++ install -d $(INSTALLROOT)$(MANDIR) + install -m$(MANMODE) rpcgen.1 $(INSTALLROOT)$(MANDIR)/man1 + + clean: +--- netkit-rpc-0.17/rpcinfo/Makefile~install.patch ++++ netkit-rpc-0.17/rpcinfo/Makefile +@@ -8,7 +8,9 @@ + rpcinfo.o: ../version.h + + install: rpcinfo ++ install -d $(INSTALLROOT)$(BINDIR) + install -s -m$(BINMODE) rpcinfo $(INSTALLROOT)$(BINDIR) ++ install -d $(INSTALLROOT)$(MANDIR)/man8 + install -m$(MANMODE) rpcinfo.8 $(INSTALLROOT)$(MANDIR)/man8 + + clean: diff --git a/netkit-rpc/netkit-rpc_0.17.oe b/netkit-rpc/netkit-rpc_0.17.oe index e69de29bb2..6247821d6f 100644 --- a/netkit-rpc/netkit-rpc_0.17.oe +++ b/netkit-rpc/netkit-rpc_0.17.oe @@ -0,0 +1,39 @@ +SECTION = "console/network" +DESCRIPTION = "netkit-rpc includes rpcgen and rpcinfo." +PR = "r1" + +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 +} |