summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/file/file_5.12.bb
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-01-23 13:25:42 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-28 12:29:32 +0000
commit7fed40399c232385e562a3b367dd7e5a1bfaf79b (patch)
treeec7a16b361f342eff16a46df7beea2bc3f0eb25d /meta/recipes-devtools/file/file_5.12.bb
parent6c11a8d8b260b6eded707f786983db1a284d59d3 (diff)
downloadpoky-7fed40399c232385e562a3b367dd7e5a1bfaf79b.tar.gz
file: Update to 5.12
Remove the backported automake patch, now fixed upstream (From OE-Core rev: a7d06efe4856ea76b1ffa15ed398099cc963d14a) 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.12.bb')
-rw-r--r--meta/recipes-devtools/file/file_5.12.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/file/file_5.12.bb b/meta/recipes-devtools/file/file_5.12.bb
new file mode 100644
index 0000000000..4677a6d4c7
--- /dev/null
+++ b/meta/recipes-devtools/file/file_5.12.bb
@@ -0,0 +1,38 @@
1SUMMARY = "File classification tool"
2DESCRIPTION = "File attempts to classify files depending \
3on their contents and prints a description if a match is found."
4HOMEPAGE = "http://www.darwinsys.com/file/"
5SECTION = "console/utils"
6
7# two clause BSD
8LICENSE = "BSD"
9LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=6a7382872edb68d33e1a9398b6e03188"
10
11DEPENDS = "zlib file-native"
12DEPENDS_class-native = "zlib-native"
13PR = "r0"
14
15SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \
16 file://fix_version_check.patch \
17 file://dump \
18 file://filesystems"
19
20SRC_URI[md5sum] = "1d7d85cb9354f79e5e351deef36be6ba"
21SRC_URI[sha256sum] = "199d0dab2e32814cbced8dc30d3d2d5b7e45587598160a2c401358b573273d22"
22
23inherit autotools
24
25do_configure_prepend() {
26 cp ${WORKDIR}/dump ${S}/magic/Magdir/
27 cp ${WORKDIR}/filesystems ${S}/magic/Magdir/
28}
29
30FILES_${PN} += "${datadir}/misc/*.mgc"
31
32do_install_append_class-native() {
33 create_cmdline_wrapper ${D}/${bindir}/file \
34 --magic-file ${datadir}/misc/magic.mgc
35}
36
37
38BBCLASSEXTEND = "native"