aboutsummaryrefslogtreecommitdiff
path: root/recipes/netkit-rpc/netkit-rpc_0.17.bb
blob: 3f97fc4632e1512464ef9fd1cea172f8c93ecf67 (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
40
41
42
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 \
	   file://install.patch"
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
}

SRC_URI[md5sum] = "67212720482ea1aea9182a98653a9642"
SRC_URI[sha256sum] = "421d63b414162237a72867061f1bd3e3752a0d962cd5d30b5e933ddad8a14d3b"