From 679a3353587832c41511f2f835f0abc1e8ea2b46 Mon Sep 17 00:00:00 2001 From: Maxime BORGES Date: Fri, 31 Aug 2018 13:57:57 +0200 Subject: Update lshw to 02.17 --- recipes-support/lshw/files/ldflags.patch | 4 ++-- recipes-support/lshw/lshw_02.16.bb | 36 -------------------------------- recipes-support/lshw/lshw_02.17.bb | 36 ++++++++++++++++++++++++++++++++ 3 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 recipes-support/lshw/lshw_02.16.bb create mode 100644 recipes-support/lshw/lshw_02.17.bb diff --git a/recipes-support/lshw/files/ldflags.patch b/recipes-support/lshw/files/ldflags.patch index 83e0410..53bc112 100644 --- a/recipes-support/lshw/files/ldflags.patch +++ b/recipes-support/lshw/files/ldflags.patch @@ -1,6 +1,6 @@ -diff -Naur /home/anton/lshw-old/src/Makefile lshw-B.02.16/src/Makefile +diff -Naur /home/anton/lshw-old/src/Makefile lshw-B.02.18/src/Makefile --- /home/anton/lshw-old/src/Makefile 2017-02-07 16:21:52.554738182 +0100 -+++ lshw-B.02.16/src/Makefile 2017-02-07 16:22:45.578588072 +0100 ++++ lshw-B.02.18/src/Makefile 2017-02-07 16:22:45.578588072 +0100 @@ -25,9 +25,9 @@ ifeq ($(SQLITE), 1) CXXFLAGS+= -DSQLITE $(shell pkg-config --cflags sqlite3) diff --git a/recipes-support/lshw/lshw_02.16.bb b/recipes-support/lshw/lshw_02.16.bb deleted file mode 100644 index 99901ff..0000000 --- a/recipes-support/lshw/lshw_02.16.bb +++ /dev/null @@ -1,36 +0,0 @@ -# From meta-linaro -# http://git.linaro.org/openembedded/meta-linaro.git - -DESCRIPTION = "A small tool to provide detailed information on the hardware \ -configuration of the machine. It can report exact memory configuration, \ -firmware version, mainboard configuration, CPU version and speed, cache \ -configuration, bus speed, etc. on DMI-capable or EFI systems." -SUMMARY = "Hardware lister" -HOMEPAGE = "http://ezix.org/project/wiki/HardwareLiSter" -SECTION = "console/tools" -LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" -DEPENDS = "pciutils \ - usbutils" -COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" - -SRC_URI="http://ezix.org/software/files/lshw-B.${PV}.tar.gz \ - file://cross-compile.patch \ - file://ldflags.patch \ - " - -SRC_URI[md5sum] = "67479167add605e8f001097c30e96d0d" -SRC_URI[sha256sum] = "809882429555b93259785cc261dbff04c16c93d064db5f445a51945bc47157cb" - -S="${WORKDIR}/lshw-B.${PV}" - -do_compile() { - # build core only - don't ship gui - oe_runmake -C src core -} - -do_install() { - oe_runmake install DESTDIR=${D} - # data files provided by dependencies - rm -rf ${D}/usr/share/lshw -} diff --git a/recipes-support/lshw/lshw_02.17.bb b/recipes-support/lshw/lshw_02.17.bb new file mode 100644 index 0000000..1ecc4c1 --- /dev/null +++ b/recipes-support/lshw/lshw_02.17.bb @@ -0,0 +1,36 @@ +# From meta-linaro +# http://git.linaro.org/openembedded/meta-linaro.git + +DESCRIPTION = "A small tool to provide detailed information on the hardware \ +configuration of the machine. It can report exact memory configuration, \ +firmware version, mainboard configuration, CPU version and speed, cache \ +configuration, bus speed, etc. on DMI-capable or EFI systems." +SUMMARY = "Hardware lister" +HOMEPAGE = "http://ezix.org/project/wiki/HardwareLiSter" +SECTION = "console/tools" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +DEPENDS = "pciutils \ + usbutils" +COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" + +SRC_URI="http://ezix.org/software/files/lshw-B.${PV}.tar.gz \ + file://cross-compile.patch \ + file://ldflags.patch \ + " + +SRC_URI[md5sum] = "a5feb796cb302850eaf5b4530888e3ed" +SRC_URI[sha256sum] = "eb9cc053fa0f1e78685cb695596e73931bfb55d2377e3bc3b8b94aff4c5a489c" + +S="${WORKDIR}/lshw-B.${PV}" + +do_compile() { + # build core only - don't ship gui + oe_runmake -C src core +} + +do_install() { + oe_runmake install DESTDIR=${D} + # data files provided by dependencies + rm -rf ${D}/usr/share/lshw +} -- cgit v1.2.3-54-g00ecf From b165bc51e760fb185862685d6e7fe03e91bf55d2 Mon Sep 17 00:00:00 2001 From: Maxime BORGES Date: Fri, 31 Aug 2018 15:01:57 +0200 Subject: Fix version number in ldflags.patch --- recipes-support/lshw/files/ldflags.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-support/lshw/files/ldflags.patch b/recipes-support/lshw/files/ldflags.patch index 53bc112..d95699d 100644 --- a/recipes-support/lshw/files/ldflags.patch +++ b/recipes-support/lshw/files/ldflags.patch @@ -1,6 +1,6 @@ -diff -Naur /home/anton/lshw-old/src/Makefile lshw-B.02.18/src/Makefile +diff -Naur /home/anton/lshw-old/src/Makefile lshw-B.02.17/src/Makefile --- /home/anton/lshw-old/src/Makefile 2017-02-07 16:21:52.554738182 +0100 -+++ lshw-B.02.18/src/Makefile 2017-02-07 16:22:45.578588072 +0100 ++++ lshw-B.02.17/src/Makefile 2017-02-07 16:22:45.578588072 +0100 @@ -25,9 +25,9 @@ ifeq ($(SQLITE), 1) CXXFLAGS+= -DSQLITE $(shell pkg-config --cflags sqlite3) -- cgit v1.2.3-54-g00ecf