summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/lsof
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-07-06 12:49:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-29 16:50:53 +0100
commit0ec430131e315704caa2a0b97f3a0b1ce899f1f6 (patch)
tree938a1aa31d5babc309f1e7b3ad981ab8c374ad04 /meta/recipes-extended/lsof
parentd5b5efafb40ddb04d868dc29af4f98344a686807 (diff)
downloadpoky-0ec430131e315704caa2a0b97f3a0b1ce899f1f6.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: 4304ea26b7d4cd9d83b7f3414165e9399b640c73) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 78701c5b873605240226c502de3b940097433596) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/lsof')
-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