diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-04-21 14:38:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-29 14:45:08 +0100 |
commit | 8507e7892c294a946bfe714c075285ee6bbce521 (patch) | |
tree | 8469c1dd27ef4647698a98de109709c7bde07fa2 /meta/recipes-devtools/file/file_5.14.bb | |
parent | b50099466fa9d3d7903211645443bdd70eed50e6 (diff) | |
download | poky-8507e7892c294a946bfe714c075285ee6bbce521.tar.gz |
file: Update to 5.14
(From OE-Core rev: 13b6bedab766657270a12c7c332914c69ebae085)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/file/file_5.14.bb')
-rw-r--r-- | meta/recipes-devtools/file/file_5.14.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/file/file_5.14.bb b/meta/recipes-devtools/file/file_5.14.bb new file mode 100644 index 0000000000..4270ff22f4 --- /dev/null +++ b/meta/recipes-devtools/file/file_5.14.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "File classification tool" | ||
2 | DESCRIPTION = "File attempts to classify files depending \ | ||
3 | on their contents and prints a description if a match is found." | ||
4 | HOMEPAGE = "http://www.darwinsys.com/file/" | ||
5 | SECTION = "console/utils" | ||
6 | |||
7 | # two clause BSD | ||
8 | LICENSE = "BSD" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=6a7382872edb68d33e1a9398b6e03188" | ||
10 | |||
11 | DEPENDS = "zlib file-native" | ||
12 | DEPENDS_class-native = "zlib-native" | ||
13 | PR = "r0" | ||
14 | |||
15 | SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \ | ||
16 | file://fix_version_check.patch \ | ||
17 | file://dump \ | ||
18 | file://filesystems" | ||
19 | |||
20 | SRC_URI[md5sum] = "c26625f1d6773ad4bc5a87c0e315632c" | ||
21 | SRC_URI[sha256sum] = "461ba01dd0900a3b7c2dcd901b04903192c07887a9c1928af0be507572c77fe4" | ||
22 | |||
23 | inherit autotools | ||
24 | |||
25 | do_configure_prepend() { | ||
26 | cp ${WORKDIR}/dump ${S}/magic/Magdir/ | ||
27 | cp ${WORKDIR}/filesystems ${S}/magic/Magdir/ | ||
28 | } | ||
29 | |||
30 | FILES_${PN} += "${datadir}/misc/*.mgc" | ||
31 | |||
32 | do_install_append_class-native() { | ||
33 | create_cmdline_wrapper ${D}/${bindir}/file \ | ||
34 | --magic-file ${datadir}/misc/magic.mgc | ||
35 | } | ||
36 | |||
37 | |||
38 | BBCLASSEXTEND = "native" | ||