generic-poky/meta/packages/portmap/portmap_6.0.bb
Qing He 0ff5ca89bf portmap: use NO_TCP_WRAPPER instead of local patch
use NO_TCP_WRAPPER=1 in EXTRA_OEMAKE to disable -lwrap
also remove the redundent oe_compile()

Signed-off-by: Qing He <qing.he@intel.com>
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
2010-06-17 23:16:41 +01:00

22 lines
646 B
BlitzBasic

require portmap.inc
PR = "r6"
SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \
file://destdir-no-strip.patch;apply=yes \
file://no-tcpd-support.patch;apply=yes \
file://portmap.init"
S = "${WORKDIR}/${PN}_${PV}/"
EXTRA_OEMAKE_append = " NO_TCP_WRAPPER=1 "
CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS"
CFLAGS += "-Wall -Wstrict-prototypes -fPIC"
fakeroot do_install() {
install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap
oe_runmake install DESTDIR=${D}
}