diff options
| -rw-r--r-- | meta/packages/exmap-console/exmap-console_svn.bb | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/meta/packages/exmap-console/exmap-console_svn.bb b/meta/packages/exmap-console/exmap-console_svn.bb index 0243f990dd..9773164fdf 100644 --- a/meta/packages/exmap-console/exmap-console_svn.bb +++ b/meta/packages/exmap-console/exmap-console_svn.bb | |||
| @@ -2,8 +2,16 @@ DESCRIPTION = "console-based exmap" | |||
| 2 | HOMEPAGE = "http://www.o-hand.com" | 2 | HOMEPAGE = "http://www.o-hand.com" |
| 3 | SECTION = "devel" | 3 | SECTION = "devel" |
| 4 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
| 5 | PR = "r7" | 5 | PR = "r8" |
| 6 | PV = "0.3.1+svn${SRCDATE}" | 6 | SRCDATE=20070105 |
| 7 | |||
| 8 | # HACK -- I want the kernel module version label to include both the | ||
| 9 | # exmap pacakge version and the kernel version, but it is not possible | ||
| 10 | # to use ${PV} in the definition of PV_kernel-module-exmap (complains | ||
| 11 | # about recursion, hence $MYPV | ||
| 12 | |||
| 13 | PV = "0.4+svn${SRCDATE}" | ||
| 14 | MYPV = "0.4+svn${SRCDATE}" | ||
| 7 | 15 | ||
| 8 | SRC_URI = \ | 16 | SRC_URI = \ |
| 9 | "svn://svn.o-hand.com/repos/misc/trunk;module=exmap-console;proto=http" | 17 | "svn://svn.o-hand.com/repos/misc/trunk;module=exmap-console;proto=http" |
| @@ -11,6 +19,20 @@ SRC_URI = \ | |||
| 11 | inherit module-base | 19 | inherit module-base |
| 12 | inherit autotools | 20 | inherit autotools |
| 13 | 21 | ||
| 22 | PACKAGES += "exmap-server kernel-module-exmap" | ||
| 23 | |||
| 24 | FILES_${PN}= "${sbindir}" | ||
| 25 | PACKAGE_ARCH_exmap-console = "${TARGET_ARCH}" | ||
| 26 | RDEPENDS_exmap-console = "kernel-module-exmap" | ||
| 27 | |||
| 28 | FILES_exmap-server = "${bindir}" | ||
| 29 | PACKAGE_ARCH_exmap-server = "${TARGET_ARCH}" | ||
| 30 | RDEPENDS_exmap-server = "kernel-module-exmap" | ||
| 31 | |||
| 32 | FILES_kernel-module-exmap = "${base_libdir}" | ||
| 33 | PACKAGE_ARCH_kernel-module-exmap = "${MACHINE_ARCH}" | ||
| 34 | PV_kernel-module-exmap = "${MYPV}-${KERNEL_VERSION}" | ||
| 35 | |||
| 14 | S = "${WORKDIR}/exmap-console" | 36 | S = "${WORKDIR}/exmap-console" |
| 15 | 37 | ||
| 16 | export MODULE_PATH="${D}${base_libdir}/modules/${KERNEL_VERSION}" | 38 | export MODULE_PATH="${D}${base_libdir}/modules/${KERNEL_VERSION}" |
| @@ -28,4 +50,3 @@ do_compile() { | |||
| 28 | ${MAKE_TARGETS} | 50 | ${MAKE_TARGETS} |
| 29 | } | 51 | } |
| 30 | 52 | ||
| 31 | FILES_${PN}="${sbindir} ${base_libdir}" | ||
