diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-07-06 12:49:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-08 13:34:46 +0100 |
commit | 056923b2d9ab61a2c6036b920ddec848c439ddad (patch) | |
tree | dff7551b56a322a14f212e051cf364575765b81a /meta | |
parent | 9bf53388ad3f25487488e20d9fc12a1ca0baece2 (diff) | |
download | poky-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.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 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 @@ | |||
1 | SUMMARY = "LiSt Open Files tool" | 1 | SUMMARY = "LiSt Open Files tool" |
2 | DESCRIPTION = "Lsof is a Unix-specific diagnostic tool. \ | 2 | DESCRIPTION = "Lsof is a Unix-specific diagnostic tool. \ |
3 | Its name stands for LiSt Open Files, and it does just that." | 3 | Its name stands for LiSt Open Files, and it does just that." |
4 | HOMEPAGE = "http://people.freebsd.org/~abe/" | ||
4 | SECTION = "devel" | 5 | SECTION = "devel" |
5 | LICENSE = "BSD" | 6 | LICENSE = "BSD" |
7 | LIC_FILES_CHKSUM = "file://00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a" | ||
6 | 8 | ||
7 | SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2" | 9 | SRC_URI = "ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_${PV}.tar.bz2" |
8 | 10 | ||
@@ -12,9 +14,8 @@ SRC_URI[sha256sum] = "81ac2fc5fdc944793baf41a14002b6deb5a29096b387744e28f8c30a36 | |||
12 | UPSTREAM_CHECK_URI = "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof" | 14 | UPSTREAM_CHECK_URI = "http://www.mirrorservice.org/sites/lsof.itap.purdue.edu/pub/tools/unix/lsof" |
13 | 15 | ||
14 | LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar" | 16 | LOCALSRC = "file://${WORKDIR}/lsof_${PV}/lsof_${PV}_src.tar" |
15 | S = "${WORKDIR}/lsof_${PV}_src" | ||
16 | 17 | ||
17 | LIC_FILES_CHKSUM = "file://${S}/00README;beginline=645;endline=679;md5=964df275d26429ba3b39dbb9f205172a" | 18 | S = "${WORKDIR}/lsof_${PV}_src" |
18 | 19 | ||
19 | python do_unpack () { | 20 | python do_unpack () { |
20 | # temporarily change S for unpack | 21 | # temporarily change S for unpack |
@@ -36,11 +37,11 @@ export LSOF_INCLUDE = "${STAGING_INCDIR}" | |||
36 | do_configure () { | 37 | do_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 | ||