inherit autotools
+PR = "r1"
+
SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
file://lmbench-run \
file://rename-line-binary.patch \
EXTRA_OEMAKE = 'CC="${CC}" AR="${AR}" RANLIB="${RANLIB}" CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" LD="${LD}" OS="${TARGET_SYS}" \
- TARGET="${TARGET_OS}" BASE="${prefix}"'
+ TARGET="${TARGET_OS}" BASE="${prefix}" MANDIR="${mandir}"'
do_configure() {
:
oe_runmake 'BASE=${D}${prefix}' \
-C src install
mv ${D}${bindir}/line ${D}${bindir}/lm_line
- mv ${D}${prefix}/man/* ${D}${mandir}/
install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${PN},;' \
-e 's,^BINDIR=.*$,BINDIR=${libdir}/${PN},;' \
}
RDEPENDS_${PN} = "debianutils"
-FILES_${PN} += "${datadir}/lmbench"
+FILES_${PN} += "${datadir}/lmbench ${libdir}/lmbench"