diff options
author | Tomas Frydrych <tf@openedhand.com> | 2007-01-05 09:19:33 +0000 |
---|---|---|
committer | Tomas Frydrych <tf@openedhand.com> | 2007-01-05 09:19:33 +0000 |
commit | 3206bb360094335117b45a30913ca90e727e7137 (patch) | |
tree | dbb006a3e0f38c14aa74f973b225280ca250250a /meta/packages/exmap-console/exmap-console.inc | |
parent | 4b8a009013623827def90080c1408d2e0deeadc4 (diff) | |
download | poky-3206bb360094335117b45a30913ca90e727e7137.tar.gz |
bump up version to 0.4; add missing RDEPENDS and DEPENDS and post install script
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1117 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/exmap-console/exmap-console.inc')
-rw-r--r-- | meta/packages/exmap-console/exmap-console.inc | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/meta/packages/exmap-console/exmap-console.inc b/meta/packages/exmap-console/exmap-console.inc index 37f2268588..799b6da565 100644 --- a/meta/packages/exmap-console/exmap-console.inc +++ b/meta/packages/exmap-console/exmap-console.inc | |||
@@ -3,14 +3,30 @@ HOMEPAGE = "http://www.o-hand.com" | |||
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
5 | 5 | ||
6 | SRCDATE="20061111" | ||
7 | |||
8 | SRC_URI = \ | 6 | SRC_URI = \ |
9 | "http://projects.o-hand.com/sources/exmap-console/exmap-console-${PV}.tgz" | 7 | "http://projects.o-hand.com/sources/exmap-console/exmap-console-${PV}.tgz" |
10 | 8 | ||
11 | inherit module-base | 9 | inherit module-base |
12 | inherit autotools | 10 | inherit autotools |
13 | 11 | ||
12 | MYPV := "${PV}" | ||
13 | |||
14 | PACKAGES += "exmap-server kernel-module-exmap" | ||
15 | |||
16 | FILES_${PN}= "${bindir}/exmap ${bindir}/exmapd" | ||
17 | PACKAGE_ARCH_exmap-console = "${TARGET_ARCH}" | ||
18 | RDEPENDS_exmap-console += "kernel-module-exmap" | ||
19 | |||
20 | FILES_exmap-server = "${bindir}/exmapserver" | ||
21 | PACKAGE_ARCH_exmap-server = "${TARGET_ARCH}" | ||
22 | RDEPENDS_exmap-server += "kernel-module-exmap" | ||
23 | |||
24 | FILES_kernel-module-exmap = "${base_libdir}" | ||
25 | PACKAGE_ARCH_kernel-module-exmap = "${MACHINE_ARCH}" | ||
26 | PV_kernel-module-exmap = "${MYPV}-${KERNEL_VERSION}" | ||
27 | RDEPENDS_kernel-module-exmap += "kernel (${KERNEL_VERSION})" | ||
28 | DEPENDS_kernel-module-exmap += "virtual/kernel" | ||
29 | |||
14 | S = "${WORKDIR}/exmap-console-${PV}" | 30 | S = "${WORKDIR}/exmap-console-${PV}" |
15 | 31 | ||
16 | export MODULE_PATH="${D}${base_libdir}/modules/${KERNEL_VERSION}" | 32 | export MODULE_PATH="${D}${base_libdir}/modules/${KERNEL_VERSION}" |
@@ -28,4 +44,14 @@ do_compile() { | |||
28 | ${MAKE_TARGETS} | 44 | ${MAKE_TARGETS} |
29 | } | 45 | } |
30 | 46 | ||
31 | FILES_${PN}="${sbindir} ${base_libdir}" | 47 | pkg_postinst_append_kernel-module-exmap () { |
48 | if [ -n "$D" ]; then | ||
49 | exit 1 | ||
50 | fi | ||
51 | depmod -a | ||
52 | update-modules || true | ||
53 | } | ||
54 | |||
55 | pkg_postrm_append_kernel-module-exmap () { | ||
56 | update-modules || true | ||
57 | } | ||