summaryrefslogtreecommitdiff
path: root/packages/netkit-rpc/netkit-rpc_0.17.bb
blob: 0e0287c0410d326ae4eb8320ecdc9969bcea2fa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
}