diff options
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 | } | ||
