diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-connectivity/portmap/portmap.inc | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/portmap/portmap.inc')
-rw-r--r-- | meta/recipes-connectivity/portmap/portmap.inc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/portmap/portmap.inc b/meta/recipes-connectivity/portmap/portmap.inc new file mode 100644 index 0000000000..d563ad5b5a --- /dev/null +++ b/meta/recipes-connectivity/portmap/portmap.inc | |||
@@ -0,0 +1,31 @@ | |||
1 | DESCRIPTION = "RPC program number mapper." | ||
2 | HOMEPAGE = "http://neil.brown.name/portmap/" | ||
3 | SECTION = "console/network" | ||
4 | LICENSE = "BSD" | ||
5 | LIC_FILES_CHKSUM = "file://portmap.c;beginline=2;endline=31;md5=51ff67e66ec84b2009b017b1f94afbf4 \ | ||
6 | file://from_local.c;beginline=9;endline=35;md5=1bec938a2268b8b423c58801ace3adc1" | ||
7 | DEPENDS = "virtual/fakeroot-native" | ||
8 | |||
9 | SRC_URI = "${DEBIAN_MIRROR}/main/p/portmap/portmap_5.orig.tar.gz \ | ||
10 | ${DEBIAN_MIRROR}/main/p/portmap/portmap_${PV}.diff.gz;patch=1 \ | ||
11 | file://portmap.init \ | ||
12 | file://make.patch;apply=yes" | ||
13 | S = "${WORKDIR}/portmap_5beta" | ||
14 | |||
15 | INITSCRIPT_NAME = "portmap" | ||
16 | INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . stop 81 1 ." | ||
17 | |||
18 | inherit update-rc.d | ||
19 | |||
20 | sbindir = "/sbin" | ||
21 | |||
22 | fakeroot do_install() { | ||
23 | install -d ${D}${sysconfdir}/init.d | ||
24 | install -d ${D}${base_sbindir} | ||
25 | install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap | ||
26 | oe_runmake 'docdir=${docdir}/portmap' 'DESTDIR=${D}' install | ||
27 | } | ||
28 | |||
29 | PACKAGES =+ "portmap-utils" | ||
30 | FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump" | ||
31 | FILES_${PN}-doc += "${docdir}" | ||