mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -37,8 +37,8 @@ do_install() {
|
||||
|
||||
install -m 0755 ${S}/iozone ${D}${bindir}
|
||||
install -m 0755 ${S}/fileop ${D}${bindir}
|
||||
install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/
|
||||
install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${S}/../../docs/iozone.1 ${D}${mandir}/man1/
|
||||
install -m 0644 ${UNPACKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/
|
||||
|
||||
install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${BPN}/examples
|
||||
install -m 0644 ${S}/client_list ${D}${datadir}/doc/${BPN}/examples
|
||||
@@ -48,9 +48,9 @@ do_install() {
|
||||
install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${BPN}/examples
|
||||
install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${BPN}/examples
|
||||
|
||||
install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${S}/../../docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${S}/../../docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${S}/../../docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/doc/${PN}/copyright.txt"
|
||||
|
||||
@@ -2,7 +2,7 @@ DESCRIPTION = "LINPACK Benchmarks are a measure of a system's floating point com
|
||||
SUMMARY = "LINPACK is a software library for performing numerical linear algebra on digital computers"
|
||||
|
||||
LICENSE = "PD"
|
||||
LIC_FILES_CHKSUM ="file://${WORKDIR}/linpacknew.c;beginline=1;endline=23;md5=aa025e3bc44190c71e4c5e3b084fed87"
|
||||
LIC_FILES_CHKSUM ="file://${UNPACKDIR}/linpacknew.c;beginline=1;endline=23;md5=aa025e3bc44190c71e4c5e3b084fed87"
|
||||
|
||||
SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpacknew.c \
|
||||
file://0001-linpack-Define-DP-only-when-SP-is-not-defined.patch \
|
||||
|
||||
@@ -75,7 +75,7 @@ do_install () {
|
||||
DESTDIR="${D}" \
|
||||
-C src install
|
||||
mv ${D}${bindir}/line ${D}${bindir}/lm_line
|
||||
install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
|
||||
install -m 0755 ${UNPACKDIR}/lmbench-run ${D}${bindir}/
|
||||
install -m 0755 ${S}/bin/${TARGET_SYS}/cache ${D}${bindir}/
|
||||
sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
|
||||
-e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
|
||||
|
||||
Reference in New Issue
Block a user