From 27cd4198174e807693774b5632798c76ef52fbf7 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 31 Mar 2017 13:38:01 +0200 Subject: hwdata: use github instead of fedorahosted.org * fedorahosted is retired https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- meta-oe/recipes-support/hwdata/hwdata_0.291.bb | 21 --------------------- meta-oe/recipes-support/hwdata/hwdata_git.bb | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+), 21 deletions(-) delete mode 100644 meta-oe/recipes-support/hwdata/hwdata_0.291.bb create mode 100644 meta-oe/recipes-support/hwdata/hwdata_git.bb diff --git a/meta-oe/recipes-support/hwdata/hwdata_0.291.bb b/meta-oe/recipes-support/hwdata/hwdata_0.291.bb deleted file mode 100644 index f00f73b919..0000000000 --- a/meta-oe/recipes-support/hwdata/hwdata_0.291.bb +++ /dev/null @@ -1,21 +0,0 @@ -DESCRIPTION = "Hardware identification and configuration data" -HOMEPAGE = "http://git.fedorahosted.org/git/hwdata.git" -SECTION = "System/Base" - -LICENSE = "GPL-2.0+" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57" -SRC_URI = "https://git.fedorahosted.org/cgit/${BPN}.git/snapshot/${BP}.tar.gz" - -SRC_URI[md5sum] = "90ffce584bbcb1a5e77eac8503949f71" -SRC_URI[sha256sum] = "e1007a96645cb3390aa9c0ed3f090a69d2302ce4d801914b6af1ab4ec85ede4e" - -do_configure() { - ${S}/configure --datadir=${datadir} --libdir=${libdir} -} - -do_install() { - oe_runmake install DESTDIR=${D} -} - -FILES_${PN} = "${libdir}/* \ - ${datadir}/* " diff --git a/meta-oe/recipes-support/hwdata/hwdata_git.bb b/meta-oe/recipes-support/hwdata/hwdata_git.bb new file mode 100644 index 0000000000..50d35c682f --- /dev/null +++ b/meta-oe/recipes-support/hwdata/hwdata_git.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "Hardware identification and configuration data" +HOMEPAGE = "https://github.com/vcrhonek/hwdata" +SECTION = "System/Base" + +LICENSE = "GPL-2.0+" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57" + +PV = "0.291+git${SRCPV}" +SRCREV = "4bfbdcf5913d6dd53336d31b8035708075e6fdfa" +SRC_URI = "git://github.com/vcrhonek/${BPN}.git" + +S = "${WORKDIR}/git" + +do_configure() { + ${S}/configure --datadir=${datadir} --libdir=${libdir} +} + +do_install() { + oe_runmake install DESTDIR=${D} +} + +FILES_${PN} = "${libdir}/* \ + ${datadir}/* " -- cgit 1.2.3-korg