summaryrefslogtreecommitdiff
path: root/packages/portmap/portmap_6.0.bb
blob: 4b8b8c8d5c95523f5e629ca087d860a29bf41403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require portmap.inc

SRC_URI = "http://neil.brown.name/portmap/portmap-6.0.tgz \
           file://destdir-no-strip.patch;patch=1 \
	   file://no-tcpd-support.patch;patch=1 \
           file://no-libwrap.patch;patch=1;pnum=0 \
           file://portmap.init "

S = "${WORKDIR}/${PN}_${PV}/"

CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS"

fakeroot do_install() {
        install -d ${D}${sysconfdir}/init.d
        install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
        install -d ${D}${mandir}/man8/ ${D}${base_sbindir}
        oe_runmake install DESTDIR=${D}
}