[gnome-continuous-yocto/gnomeostree-3.28-rocko: 6662/8267] lsof: minor recipe cleanup



commit 056923b2d9ab61a2c6036b920ddec848c439ddad
Author: Andre McCurdy <armccurdy gmail com>
Date:   Thu Jul 6 12:49:00 2017 -0700

    lsof: minor recipe cleanup
    
      - Add HOMEPAGE
      - Remove ${S} from LIC_FILES_CHKSUM path
      - Use tabs consistently to indent do_configure()
      - Re-order LIC_FILES_CHKSUM definition to follow OE style guide
    
    (From OE-Core rev: 78701c5b873605240226c502de3b940097433596)
    
    Signed-off-by: Andre McCurdy <armccurdy gmail com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-extended/lsof/lsof_4.89.bb |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/meta/recipes-extended/lsof/lsof_4.89.bb b/meta/recipes-extended/lsof/lsof_4.89.bb
index 650b34c..0c38e97 100644
--- a/meta/recipes-extended/lsof/lsof_4.89.bb
+++ b/meta/recipes-extended/lsof/lsof_4.89.bb
@@ -1,8 +1,10 @@
 SUMMARY = "LiSt Open Files tool"
 DESCRIPTION = "Lsof is a Unix-specific diagnostic tool. \
 Its name stands for LiSt Open Files, and it does just that."
+HOMEPAGE = "http://people.freebsd.org/~abe/";
 SECTION = "devel"
 LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a"
 
 SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2";
 
@@ -12,9 +14,8 @@ SRC_URI[sha256sum] = "81ac2fc5fdc944793baf41a14002b6deb5a29096b387744e28f8c30a36
 UPSTREAM_CHECK_URI = "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof";
 
 LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar"
-S = "${WORKDIR}/lsof_${PV}_src"
 
-LIC_FILES_CHKSUM = "file://${S}/00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a"
+S = "${WORKDIR}/lsof_${PV}_src"
 
 python do_unpack () {
     # temporarily change S for unpack
@@ -36,11 +37,11 @@ export LSOF_INCLUDE = "${STAGING_INCDIR}"
 do_configure () {
        export LSOF_AR="${AR} cr"
        export LSOF_RANLIB="${RANLIB}"
-        if [ "x${GLIBCVERSION}" != "x" ];then
-                LINUX_CLIB=`echo ${GLIBCVERSION} |sed -e 's,\.,,g'`
-                LINUX_CLIB="-DGLIBCV=${LINUX_CLIB}"
-                export LINUX_CLIB
-        fi
+       if [ "x${GLIBCVERSION}" != "x" ]; then
+               LINUX_CLIB=`echo ${GLIBCVERSION} |sed -e 's,\.,,g'`
+               LINUX_CLIB="-DGLIBCV=${LINUX_CLIB}"
+               export LINUX_CLIB
+       fi
        yes | ./Configure linux
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]