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
This commit is contained in:
Tomas Frydrych 2007-01-04 13:21:47 +00:00
parent 09b777e81a
commit 30daacb76f
1 changed files with 24 additions and 3 deletions

View File

@ -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}"