summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Frydrych <tf@openedhand.com>2006-11-03 09:20:26 +0000
committerTomas Frydrych <tf@openedhand.com>2006-11-03 09:20:26 +0000
commit73e003270527b95f502f4c2927adca385d8e6433 (patch)
tree9774f5b1baae49d797152216405f8e4a5f71b3c2
parent362a7a327673b15f398e53b386a854990c706f05 (diff)
downloadpoky-73e003270527b95f502f4c2927adca385d8e6433.tar.gz
tweaked to work with autotooled package
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@853 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/exmap-console/exmap-console.bb17
1 files changed, 4 insertions, 13 deletions
diff --git a/meta/packages/exmap-console/exmap-console.bb b/meta/packages/exmap-console/exmap-console.bb
index e4af4c1be4..929b27970a 100644
--- a/meta/packages/exmap-console/exmap-console.bb
+++ b/meta/packages/exmap-console/exmap-console.bb
@@ -2,19 +2,20 @@ DESCRIPTION = "console-based exmap"
2HOMEPAGE = "http://www.o-hand.com" 2HOMEPAGE = "http://www.o-hand.com"
3SECTION = "devel" 3SECTION = "devel"
4LICENSE = "GPL" 4LICENSE = "GPL"
5PR = "r3" 5PR = "r5"
6PV = "0.9" 6PV = "0.9"
7 7
8SRCDATE="20061026" 8SRCDATE="20061104"
9 9
10SRC_URI = \ 10SRC_URI = \
11 "svn://svn.o-hand.com/repos/misc/trunk;module=exmap-console;proto=http" 11 "svn://svn.o-hand.com/repos/misc/trunk;module=exmap-console;proto=http"
12 12
13inherit module-base 13inherit module-base
14inherit autotools
14 15
15S = "${WORKDIR}/exmap-console" 16S = "${WORKDIR}/exmap-console"
16 17
17export KERNEL_PATH=${STAGING_KERNEL_DIR} 18export MODULE_PATH="${D}${base_libdir}/modules/${KERNEL_VERSION}"
18 19
19do_compile() { 20do_compile() {
20 cd ${S}/src 21 cd ${S}/src
@@ -29,14 +30,4 @@ do_compile() {
29 ${MAKE_TARGETS} 30 ${MAKE_TARGETS}
30} 31}
31 32
32sbindir="/usr/sbin"
33
34do_install() {
35 install -d ${D}${sbindir}
36 install -m 710 ${S}/src/exmap ${D}${sbindir}/exmap
37
38 install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/misc
39 install -m 644 ${S}/kernel/exmap${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/misc/
40}
41
42FILES_${PN}="${sbindir} ${base_libdir}" 33FILES_${PN}="${sbindir} ${base_libdir}"