diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-05 22:16:58 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2012-12-11 01:53:00 +0100 |
commit | 7e57abfd19c772df5e5d770aae569a900df46bbb (patch) | |
tree | 2decbc073fad059f7feb6ead8105fed78facccb7 | |
parent | 5f131ed5d87b1b59746b6fdeb5f3168757fc0e12 (diff) | |
download | meta-openembedded-7e57abfd19c772df5e5d770aae569a900df46bbb.tar.gz |
lmbench: fix unpackaged files
* fixes:
lmbench-3.0-a9: lmbench: Files/directories were installed but not shipped
/usr/man
/usr/lib/lmbench
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb index 7efdad53f..611013e8a 100644 --- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb +++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb | |||
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \ | |||
7 | 7 | ||
8 | inherit autotools | 8 | inherit autotools |
9 | 9 | ||
10 | PR = "r1" | ||
11 | |||
10 | SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \ | 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \ |
11 | file://lmbench-run \ | 13 | file://lmbench-run \ |
12 | file://rename-line-binary.patch \ | 14 | file://rename-line-binary.patch \ |
@@ -18,7 +20,7 @@ SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8 | |||
18 | 20 | ||
19 | EXTRA_OEMAKE = 'CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" CFLAGS="${CFLAGS}" \ | 21 | EXTRA_OEMAKE = 'CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" CFLAGS="${CFLAGS}" \ |
20 | LDFLAGS="${LDFLAGS}" LD="${LD}" OS="${TARGET_SYS}" \ | 22 | LDFLAGS="${LDFLAGS}" LD="${LD}" OS="${TARGET_SYS}" \ |
21 | TARGET="${TARGET_OS}" BASE="${prefix}"' | 23 | TARGET="${TARGET_OS}" BASE="${prefix}" MANDIR="${mandir}"' |
22 | 24 | ||
23 | do_configure() { | 25 | do_configure() { |
24 | : | 26 | : |
@@ -40,7 +42,6 @@ do_install () { | |||
40 | oe_runmake 'BASE=${D}${prefix}' \ | 42 | oe_runmake 'BASE=${D}${prefix}' \ |
41 | -C src install | 43 | -C src install |
42 | mv ${D}${bindir}/line ${D}${bindir}/lm_line | 44 | mv ${D}${bindir}/line ${D}${bindir}/lm_line |
43 | mv ${D}${prefix}/man/* ${D}${mandir}/ | ||
44 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ | 45 | install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/ |
45 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \ | 46 | sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \ |
46 | -e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \ | 47 | -e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \ |
@@ -51,4 +52,4 @@ do_install () { | |||
51 | } | 52 | } |
52 | 53 | ||
53 | RDEPENDS_${PN} = "debianutils" | 54 | RDEPENDS_${PN} = "debianutils" |
54 | FILES_${PN} += "${datadir}/lmbench" | 55 | FILES_${PN} += "${datadir}/lmbench ${libdir}/lmbench" |