]> code.ossystems Code Review - openembedded-core.git/commitdiff
portmap: depend on fakeroot-native (from OE)
authorMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 25 Oct 2007 13:00:10 +0000 (13:00 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 25 Oct 2007 13:00:10 +0000 (13:00 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2966 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/portmap/portmap.inc

index bb9d2b66529463c88ce729acea6ae09642adcf5c..f73ac0e048e0dfb3c7f43d05020d87504a056270 100644 (file)
@@ -1,6 +1,7 @@
 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 \
        ${DEBIAN_MIRROR}/main/p/portmap/portmap_${PV}.diff.gz;patch=1 \
@@ -20,8 +21,9 @@ do_compile() {
        oe_runmake
 }
 
-do_install() {
+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
 }