blob: 5f2c47c19794336b4c0e00ae7f3af7498ad1a72e (
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
|
DESCRIPTION = "RPC program number mapper."
SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "fakeroot-native"
SRC_URI = "${DEBIAN_MIRROR}/main/p/portmap/portmap_5.orig.tar.gz;name=archive \
${DEBIAN_MIRROR}/main/p/portmap/portmap_${PV}.diff.gz;name=patch \
file://no-libwrap.patch;striplevel=0 \
file://portmap.init \
file://make.patch"
S = "${WORKDIR}/portmap_5beta"
INITSCRIPT_NAME = "portmap"
INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . stop 81 1 ."
inherit update-rc.d
sbindir = "/sbin"
do_compile() {
oe_runmake
}
fakeroot do_install() {
install -d ${D}${sysconfdir}/init.d
install -d ${D}${base_sbindir}
install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
oe_runmake 'docdir=${docdir}/portmap' 'DESTDIR=${D}' install
}
PACKAGES =+ "portmap-utils"
FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump"
FILES_${PN}-doc += "${docdir}"
|