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 0243f990d..9773164fd 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" HOMEPAGE = "http://www.o-hand.com" SECTION = "devel" LICENSE = "GPL" -PR = "r7" -PV = "0.3.1+svn${SRCDATE}" +PR = "r8" +SRCDATE=20070105 + +# HACK -- I want the kernel module version label to include both the +# exmap pacakge version and the kernel version, but it is not possible +# to use ${PV} in the definition of PV_kernel-module-exmap (complains +# about recursion, hence $MYPV + +PV = "0.4+svn${SRCDATE}" +MYPV = "0.4+svn${SRCDATE}" SRC_URI = \ "svn://svn.o-hand.com/repos/misc/trunk;module=exmap-console;proto=http" @@ -11,6 +19,20 @@ SRC_URI = \ inherit module-base inherit autotools +PACKAGES += "exmap-server kernel-module-exmap" + +FILES_${PN}= "${sbindir}" +PACKAGE_ARCH_exmap-console = "${TARGET_ARCH}" +RDEPENDS_exmap-console = "kernel-module-exmap" + +FILES_exmap-server = "${bindir}" +PACKAGE_ARCH_exmap-server = "${TARGET_ARCH}" +RDEPENDS_exmap-server = "kernel-module-exmap" + +FILES_kernel-module-exmap = "${base_libdir}" +PACKAGE_ARCH_kernel-module-exmap = "${MACHINE_ARCH}" +PV_kernel-module-exmap = "${MYPV}-${KERNEL_VERSION}" + S = "${WORKDIR}/exmap-console" export MODULE_PATH="${D}${base_libdir}/modules/${KERNEL_VERSION}" @@ -28,4 +50,3 @@ do_compile() { ${MAKE_TARGETS} } -FILES_${PN}="${sbindir} ${base_libdir}" |