summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/stat/stat_3.3.bb
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2017-12-15 09:18:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-02 17:24:38 +0000
commita61fbd3f600dc172c789e396e8f23151a69a8b50 (patch)
treec0e047750289bb26ac4453ac3bc17d8d05019f57 /meta/recipes-extended/stat/stat_3.3.bb
parentd8fd4274717bc69a46d786ebd1b0a86d2d8b5061 (diff)
downloadpoky-a61fbd3f600dc172c789e396e8f23151a69a8b50.tar.gz
stat: remove the recipe
The stat hasn't any update since 2002. All modern Linux distributions use stat from coreutils as default. After replace it with coreutils as runtime dependency in hdparm, it is safe to drop this recipe and move it to meta-oe. (From OE-Core rev: 6f6542f2d479ffa2a9d0d4480a84348a08ebf641) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/stat/stat_3.3.bb')
-rw-r--r--meta/recipes-extended/stat/stat_3.3.bb35
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-extended/stat/stat_3.3.bb b/meta/recipes-extended/stat/stat_3.3.bb
deleted file mode 100644
index 8ac8e89a22..0000000000
--- a/meta/recipes-extended/stat/stat_3.3.bb
+++ /dev/null
@@ -1,35 +0,0 @@
1SUMMARY = "Command line file status display utility"
2HOMEPAGE = "http://www.ibiblio.org/pub/Linux/utils/file/"
3DESCRIPTION = "Displays all information about a file that the stat() call provides and all information about a filesystem that statfs() provides."
4SECTION = "console/utils"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=39886b077fd072e876e5c4c16310b631 \
7 file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f"
8
9SRC_URI = "http://www.ibiblio.org/pub/Linux/utils/file/${BP}.tar.gz \
10 file://fix-security-format.patch \
11 file://fix-error-return.patch"
12
13SRC_URI[md5sum] = "37e247e8e400ad9205f1b0500b728fd3"
14SRC_URI[sha256sum] = "7071f0384a423a938dd542c1f08547a02824f6359acd3ef3f944b2c4c2d1ee09"
15
16EXTRA_OEMAKE = "-e MAKEFLAGS="
17
18do_install() {
19 install -d ${D}${base_bindir} ${D}${mandir}/man1
20 install -m 755 stat ${D}${base_bindir}/stat.stat
21 install -m 644 stat.1 ${D}${mandir}/man1
22}
23
24inherit update-alternatives
25
26ALTERNATIVE_${PN} = "stat"
27ALTERNATIVE_PRIORITY[stat] = "200"
28ALTERNATIVE_LINK_NAME[stat] = "${base_bindir}/stat"
29ALTERNATIVE_TARGET[stat] = "${base_bindir}/stat.stat"
30
31ALTERNATIVE_${PN}-doc = "stat.1"
32ALTERNATIVE_LINK_NAME[stat.1] = "${mandir}/man1/stat.1"
33
34BBCLASSEXTEND = "native"
35