@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
inherit allarch gtk-icon-cache
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
SRC_URI = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${BPN}/${BPN}_${PV}.zip"
SRC_URI[sha256sum] = "d4486fda0413f8a81a87e0dd2329f50f2a8a7cb4147b48cf147f0160add8174a"
@@ -6,13 +6,14 @@ inherit allarch
SRC_URI = "file://classic-light.xml"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install() {
install -d ${D}${datadir}/gtksourceview-3.0/styles
- install -m 0644 ${WORKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-3.0/styles/
+ install -m 0644 ${UNPACKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-3.0/styles/
install -d ${D}${datadir}/gtksourceview-4/styles
- install -m 0644 ${WORKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-4/styles/
+ install -m 0644 ${UNPACKDIR}/classic-light.xml ${D}${datadir}/gtksourceview-4/styles/
}
FILES:${PN} = " \
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
SRC_URI = "file://icon.xpm"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install:prepend () {
echo '# /boot/boot.cfg - KEXECBOOT configuration file.
@@ -3,10 +3,11 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://init-debug.sh"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install() {
- install -m 0755 ${WORKDIR}/init-debug.sh ${D}/init
+ install -m 0755 ${UNPACKDIR}/init-debug.sh ${D}/init
}
inherit allarch
@@ -18,7 +18,8 @@ SRC_URI = "http://nuttcp.net/${BPN}/beta/${BP}.c \
SRC_URI[md5sum] = "d3c92c4d2f261221193c3726c1b9a42f"
SRC_URI[sha256sum] = "8c5595bcd27c2fd66831be74c390df078cfb1870aa427f2511ac2586d236c8a1"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_compile () {
${CC} ${CFLAGS} ${LDFLAGS} -o nuttcp nuttcp-${PV}.c
@@ -28,8 +29,8 @@ do_install () {
install -d ${D}${bindir}
install -d ${D}${systemd_system_unitdir}
install -m 0755 nuttcp ${D}${bindir}
- install -m 0644 ${WORKDIR}/nuttcp@.service ${D}${systemd_system_unitdir}
- install -m 0644 ${WORKDIR}/nuttcp.socket ${D}${systemd_system_unitdir}
+ install -m 0644 ${UNPACKDIR}/nuttcp@.service ${D}${systemd_system_unitdir}
+ install -m 0644 ${UNPACKDIR}/nuttcp.socket ${D}${systemd_system_unitdir}
}
FILES:${PN} += " \
@@ -10,7 +10,8 @@ SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpack
SRC_URI[md5sum] = "1c5d0b6a31264685d2e651c920e3cdf4"
SRC_URI[sha256sum] = "a63f2ec86512959f1fd926bfafb85905b2d7b7402942ffae3af374d48745e97e"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_compile () {
${CC} ${CFLAGS} ${LDFLAGS} -DDP -o linpack_dp linpacknew.c -lm
@@ -2,13 +2,14 @@ DESCRIPTION = "Whetstone benchmark is a synthetic benchmark for evaluating the p
SUMMARY = "CPU benchmark to measure floating point performance"
LICENSE = "PD"
-LIC_FILES_CHKSUM ="file://${WORKDIR}/whetstone.c;beginline=1;endline=52;md5=c795edc15e7e1d92ca8f88ad718449f5"
+LIC_FILES_CHKSUM ="file://${UNPACKDIR}/whetstone.c;beginline=1;endline=52;md5=c795edc15e7e1d92ca8f88ad718449f5"
SRC_URI = "http://www.netlib.org/benchmark/whetstone.c"
SRC_URI[md5sum] = "d8eb2cd7104bb5a12d614ac6d3f1f9fb"
SRC_URI[sha256sum] = "333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_compile () {
${CC} ${CFLAGS} ${LDFLAGS} -Ofast -o whetstone whetstone.c -lm
@@ -12,7 +12,8 @@ SRC_URI = "file://fancontrol \
file://sensors.conf \
file://sensord \
"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
PACKAGECONFIG ??= "sensord"
PACKAGECONFIG[sensord] = ",,"
@@ -22,20 +23,20 @@ RDEPENDS:${PN}-dev = ""
do_install() {
# Install fancontrol configuration file
install -d ${D}${sysconfdir}/sysconfig
- install -m 0644 ${WORKDIR}/fancontrol ${D}${sysconfdir}
- install -m 0644 ${WORKDIR}/sensord ${D}${sysconfdir}/sysconfig
+ install -m 0644 ${UNPACKDIR}/fancontrol ${D}${sysconfdir}
+ install -m 0644 ${UNPACKDIR}/sensord ${D}${sysconfdir}/sysconfig
# Install libsensors configuration file
install -d ${D}${sysconfdir}/sensors.d
- install -m 0644 ${WORKDIR}/sensors.conf ${D}${sysconfdir}/sensors.d
+ install -m 0644 ${UNPACKDIR}/sensors.conf ${D}${sysconfdir}/sensors.d
if ${@bb.utils.contains('PACKAGECONFIG', 'sensord', 'true', 'false', d)}; then
# Install sensord configuration file
- install -m 0644 ${WORKDIR}/sensord.conf ${D}${sysconfdir}
+ install -m 0644 ${UNPACKDIR}/sensord.conf ${D}${sysconfdir}
# Install sensord.cgi script and create world-writable
# web-accessible sensord directory
install -d ${D}/www/pages/cgi-bin
- install -m 0755 ${WORKDIR}/sensord.cgi ${D}/www/pages/cgi-bin
+ install -m 0755 ${UNPACKDIR}/sensord.cgi ${D}/www/pages/cgi-bin
install -d -m a=rwxs ${D}/www/pages/sensord
fi
}
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4b5fcfc87fb615860d398b5e38685edf"
SRC_URI = "file://pointercal \
file://COPYING"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install() {
# Only install file if it has a contents
@@ -12,7 +12,8 @@ SRC_URI = " \
SRC_URI[md5sum] = "aef407c2b97ee829383aadd867c61d1e"
SRC_URI[sha256sum] = "291ac350cc5eb4a01b0d651ca99fae64cee8a1c06b2005277fab5a4356f9ae91"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
PACKAGES = "${PN} ${PN}-dev"
FILES:${PN}-dev = "${includedir}/libintl.h ${libdir}/libintl.a"
INSANE_SKIP:${PN}-dev = "staticdev"
@@ -28,6 +29,6 @@ do_compile() {
do_install() {
install -d ${D}/${includedir}
install -d ${D}/${libdir}
- install -m 0644 ${WORKDIR}/include/libintl.h ${D}/${includedir}
- install -m 0644 ${WORKDIR}/lib/libintl.a ${D}/${libdir}
+ install -m 0644 ${UNPACKDIR}/include/libintl.h ${D}/${includedir}
+ install -m 0644 ${UNPACKDIR}/lib/libintl.a ${D}/${libdir}
}
@@ -3,7 +3,8 @@ SECTION = "base"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
DEPENDS = "popt"
SRC_URI = "file://usleep.c \
@@ -19,8 +20,8 @@ do_install() {
install -d ${D}${base_bindir}
install -d ${D}${mandir}/man1
- install -m 0755 ${WORKDIR}/usleep ${D}${base_bindir}
- install -m 0644 ${WORKDIR}/usleep.1 ${D}${mandir}/man1
+ install -m 0755 ${UNPACKDIR}/usleep ${D}${base_bindir}
+ install -m 0644 ${UNPACKDIR}/usleep.1 ${D}${mandir}/man1
}
inherit update-alternatives
@@ -7,9 +7,10 @@ inherit nativesdk
SRC_URI = "file://systemctl"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install() {
install -d ${D}${bindir}
- install -m 0755 ${WORKDIR}/systemctl ${D}${bindir}
+ install -m 0755 ${UNPACKDIR}/systemctl ${D}${bindir}
}
@@ -23,7 +23,8 @@ SRC_URI = "git://github.com/google/fonts.git;protocol=https;branch=main;subpath=
git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasanscondensed;name=firasanscondensed \
git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasansextracondensed;name=firasansextracondensed"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install:append() {
install -d ${D}${datadir}/fonts/truetype/
@@ -10,7 +10,8 @@ SRC_URI[sha256sum] = "de5750f7048973f851961050f76b8b58e9bda400d5007c3078d9317fbe
DEPENDS = "fontforge-native"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
FONT_PACKAGES = "${PN}"
FILES:${PN} = "${datadir}"
@@ -9,6 +9,7 @@ SRC_URI = "https://github.com/google/roboto/releases/download/v${PV}/roboto-andr
SRC_URI[md5sum] = "3b43a5cb33196ec25e44d5fcb40219e1"
SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
FILES:${PN} = "${datadir}/fonts/truetype/*.ttf"
@@ -6,11 +6,13 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
PV = "0.1.0"
SRC_URI = "file://fb.modes"
-S = "${WORKDIR}"
+
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install() {
install -d ${D}${sysconfdir}
- install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir}
+ install -m 0644 ${UNPACKDIR}/fb.modes ${D}${sysconfdir}
}
# fb.modes file is MACHINE_ARCH, base.bbclass correctly changes it to MACHINE_ARCH, but too late for allarch.bbclass
@@ -10,7 +10,8 @@ SRC_URI[sha256sum] = "e04d192c2356e9d4c2b2c7d83fde9408713212b53c4d106e5b9e46c1a5
JQUERYDIR = "${datadir}/javascript/jquery"
JQUERYDOCDIR = "${docdir}/libjs-jquery"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_install() {
install -d -m 0755 ${D}${JQUERYDIR}
@@ -18,7 +18,8 @@ CFLAGS += "-D JFS -D GETUSER -Wall -D LARGEMEM"
LDFLAGS += "-ltinfo -lncursesw -lm"
ASNEEDED:pn-nmon = ""
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} lmon${PV}.c -o nmon
@@ -9,7 +9,8 @@ SRC_URI = "file://pxaregs.c \
file://serial.patch \
file://usb.patch "
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_compile() {
${CC} pxaregs.c -o pxaregs ${CFLAGS} ${LDFLAGS}
@@ -19,7 +19,8 @@ SRC_URI[TestFloat.sha256sum] = "6d4bdf0096b48a653aa59fc203a9e5fe18b5a58d7a1b7151
SRC_URI[SoftFloat.md5sum] = "7dac954ea4aed0697cbfee800ba4f492"
SRC_URI[SoftFloat.sha256sum] = "21130ce885d35c1fe73fc1e1bf2244178167e05c6747cad5f450cc991714c746"
-S = "${WORKDIR}"
+S = "${WORKDIR}/sources"
+UNPACKDIR = "${S}"
do_compile(){
oe_runmake -C SoftFloat-${PV}/build/Linux-Cross-Compile/
Make it dependent on UNPACKDIR instead Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../faenza-icon-theme/faenza-icon-theme_1.3.bb | 3 ++- .../gtksourceview-classic-light_1.0.bb | 7 ++++--- .../recipes-bsp/kexecboot/kexecboot-cfg_0.2.bb | 3 ++- .../initrdscripts/initramfs-debug_1.0.bb | 5 +++-- .../recipes-support/nuttcp/nuttcp_8.2.2.bb | 7 ++++--- meta-oe/recipes-benchmark/linpack/linpack_1.0.bb | 3 ++- .../recipes-benchmark/whetstone/whetstone_1.2.bb | 5 +++-- .../recipes-bsp/lm_sensors/lmsensors-config_1.0.bb | 13 +++++++------ meta-oe/recipes-bsp/pointercal/pointercal_0.0.bb | 3 ++- .../proxy-libintl/proxy-libintl_20100902.bb | 7 ++++--- meta-oe/recipes-core/usleep/usleep_1.2.bb | 7 ++++--- .../systemd/nativesdk-systemd-systemctl.bb | 5 +++-- .../recipes-graphics/ttf-fonts/ttf-google-fira.bb | 3 ++- .../ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb | 3 ++- .../recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb | 3 ++- meta-oe/recipes-support/fbset/fbset-modes.bb | 6 ++++-- meta-oe/recipes-support/libjs/libjs-jquery_3.3.1.bb | 3 ++- meta-oe/recipes-support/nmon/nmon_16m.bb | 3 ++- meta-oe/recipes-support/pxaregs/pxaregs_1.14.bb | 3 ++- meta-oe/recipes-test/testfloat/testfloat_3e.bb | 3 ++- 20 files changed, 58 insertions(+), 37 deletions(-)