summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-07-06 12:49:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-08 13:34:46 +0100
commit056923b2d9ab61a2c6036b920ddec848c439ddad (patch)
treedff7551b56a322a14f212e051cf364575765b81a /meta
parent9bf53388ad3f25487488e20d9fc12a1ca0baece2 (diff)
downloadpoky-056923b2d9ab61a2c6036b920ddec848c439ddad.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/lsof/lsof_4.89.bb15
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 650b34c7e2..0c38e979b6 100644
--- a/meta/recipes-extended/lsof/lsof_4.89.bb
+++ b/meta/recipes-extended/lsof/lsof_4.89.bb
@@ -1,8 +1,10 @@
1SUMMARY = "LiSt Open Files tool" 1SUMMARY = "LiSt Open Files tool"
2DESCRIPTION = "Lsof is a Unix-specific diagnostic tool. \ 2DESCRIPTION = "Lsof is a Unix-specific diagnostic tool. \
3Its name stands for LiSt Open Files, and it does just that." 3Its name stands for LiSt Open Files, and it does just that."
4HOMEPAGE = "http://people.freebsd.org/~abe/"
4SECTION = "devel" 5SECTION = "devel"
5LICENSE = "BSD" 6LICENSE = "BSD"
7LIC_FILES_CHKSUM = "file://00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a"
6 8
7SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2" 9SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2"
8 10
@@ -12,9 +14,8 @@ SRC_URI[sha256sum] = "81ac2fc5fdc944793baf41a14002b6deb5a29096b387744e28f8c30a36
12UPSTREAM_CHECK_URI = "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof" 14UPSTREAM_CHECK_URI = "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof"
13 15
14LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar" 16LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar"
15S = "${WORKDIR}/lsof_${PV}_src"
16 17
17LIC_FILES_CHKSUM = "file://${S}/00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a" 18S = "${WORKDIR}/lsof_${PV}_src"
18 19
19python do_unpack () { 20python do_unpack () {
20 # temporarily change S for unpack 21 # temporarily change S for unpack
@@ -36,11 +37,11 @@ export LSOF_INCLUDE = "${STAGING_INCDIR}"
36do_configure () { 37do_configure () {
37 export LSOF_AR="${AR} cr" 38 export LSOF_AR="${AR} cr"
38 export LSOF_RANLIB="${RANLIB}" 39 export LSOF_RANLIB="${RANLIB}"
39 if [ "x${GLIBCVERSION}" != "x" ];then 40 if [ "x${GLIBCVERSION}" != "x" ]; then
40 LINUX_CLIB=`echo ${GLIBCVERSION} |sed -e 's,\.,,g'` 41 LINUX_CLIB=`echo ${GLIBCVERSION} |sed -e 's,\.,,g'`
41 LINUX_CLIB="-DGLIBCV=${LINUX_CLIB}" 42 LINUX_CLIB="-DGLIBCV=${LINUX_CLIB}"
42 export LINUX_CLIB 43 export LINUX_CLIB
43 fi 44 fi
44 yes | ./Configure linux 45 yes | ./Configure linux
45} 46}
46 47