diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/file/file_5.04.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/file/file_5.04.bb b/meta/recipes-devtools/file/file_5.04.bb index b7451372f5..1f9c78eb7b 100644 --- a/meta/recipes-devtools/file/file_5.04.bb +++ b/meta/recipes-devtools/file/file_5.04.bb | |||
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=6a7382872edb68d33e1a9398b6e03 | |||
10 | 10 | ||
11 | DEPENDS = "zlib file-native" | 11 | DEPENDS = "zlib file-native" |
12 | DEPENDS_virtclass-native = "zlib-native" | 12 | DEPENDS_virtclass-native = "zlib-native" |
13 | PR = "r1" | 13 | PR = "r2" |
14 | 14 | ||
15 | SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \ | 15 | SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \ |
16 | file://stringb-compat.patch \ | 16 | file://stringb-compat.patch \ |
@@ -30,4 +30,10 @@ do_configure_prepend() { | |||
30 | 30 | ||
31 | FILES_${PN} += "${datadir}/misc/*.mgc" | 31 | FILES_${PN} += "${datadir}/misc/*.mgc" |
32 | 32 | ||
33 | do_install_append_virtclass-native() { | ||
34 | create_cmdline_wrapper ${D}/${bindir}/file \ | ||
35 | --magic-file ${datadir}/misc/magic.mgc | ||
36 | } | ||
37 | |||
38 | |||
33 | BBCLASSEXTEND = "native" | 39 | BBCLASSEXTEND = "native" |