2007-08-27 11:57:29 +00:00
|
|
|
require portmap.inc
|
|
|
|
|
2010-02-23 14:59:23 +00:00
|
|
|
PR = "r5"
|
2008-05-05 21:01:48 +00:00
|
|
|
|
2010-02-23 14:59:23 +00:00
|
|
|
SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \
|
2007-08-27 11:57:29 +00:00
|
|
|
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"
|
2010-02-23 14:59:23 +00:00
|
|
|
CFLAGS += "-Wall -Wstrict-prototypes -fPIC"
|
2007-08-27 11:57:29 +00:00
|
|
|
|
|
|
|
fakeroot do_install() {
|
|
|
|
install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d
|
2008-05-05 21:01:48 +00:00
|
|
|
install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
|
2007-08-27 11:57:29 +00:00
|
|
|
oe_runmake install DESTDIR=${D}
|
|
|
|
}
|