diff options
| author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:38:32 +0100 |
|---|---|---|
| committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 13:50:20 +0100 |
| commit | e2e6f6fe07049f33cb6348780fa975162752e421 (patch) | |
| tree | b1813295411235d1297a0ed642b1346b24fdfb12 /meta/recipes-devtools/file/file_5.14.bb | |
| download | poky-e2e6f6fe07049f33cb6348780fa975162752e421.tar.gz | |
initial commit of Enea Linux 3.1
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'meta/recipes-devtools/file/file_5.14.bb')
| -rw-r--r-- | meta/recipes-devtools/file/file_5.14.bb | 37 |
1 files changed, 37 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..c8b902cf03 --- /dev/null +++ b/meta/recipes-devtools/file/file_5.14.bb | |||
| @@ -0,0 +1,37 @@ | |||
| 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://dump \ | ||
| 17 | file://filesystems" | ||
| 18 | |||
| 19 | SRC_URI[md5sum] = "c26625f1d6773ad4bc5a87c0e315632c" | ||
| 20 | SRC_URI[sha256sum] = "461ba01dd0900a3b7c2dcd901b04903192c07887a9c1928af0be507572c77fe4" | ||
| 21 | |||
| 22 | inherit autotools | ||
| 23 | |||
| 24 | do_configure_prepend() { | ||
| 25 | cp ${WORKDIR}/dump ${S}/magic/Magdir/ | ||
| 26 | cp ${WORKDIR}/filesystems ${S}/magic/Magdir/ | ||
| 27 | } | ||
| 28 | |||
| 29 | FILES_${PN} += "${datadir}/misc/*.mgc" | ||
| 30 | |||
| 31 | do_install_append_class-native() { | ||
| 32 | create_cmdline_wrapper ${D}/${bindir}/file \ | ||
| 33 | --magic-file ${datadir}/misc/magic.mgc | ||
| 34 | } | ||
| 35 | |||
| 36 | |||
| 37 | BBCLASSEXTEND = "native" | ||
