diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-07-06 12:49:00 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-29 16:50:53 +0100 |
commit | 0ec430131e315704caa2a0b97f3a0b1ce899f1f6 (patch) | |
tree | 938a1aa31d5babc309f1e7b3ad981ab8c374ad04 /meta/recipes-extended/lsof | |
parent | d5b5efafb40ddb04d868dc29af4f98344a686807 (diff) | |
download | poky-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.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 | ||