From 30daacb76f4fc4a297c98a53e2971698685a8d39 Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Thu, 4 Jan 2007 13:21:47 +0000 Subject: splitexmap into exmap-console, exmap-server and kernel-module-exmap packages git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1115 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/exmap-console/exmap-console_svn.bb | 27 +++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) (limited to 'meta') 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" 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}" -- cgit v1.2.3-54-g00ecf