Files
poky/meta/recipes-devtools/file/file_5.11.bb
Marko Lindqvist 244296421a file: replace obsolete automake macros with working ones
Add obsolete_automake_macros.patch that replaces automake macros
no longer supported by automake-1.13 with modern constructs.

(From OE-Core rev: c36b032c406f50b8edea961785edca332dc6f843)

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-10 23:43:11 +00:00

40 lines
1.1 KiB
BlitzBasic

SUMMARY = "File classification tool"
DESCRIPTION = "File attempts to classify files depending \
on their contents and prints a description if a match is found."
HOMEPAGE = "http://www.darwinsys.com/file/"
SECTION = "console/utils"
# two clause BSD
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=6a7382872edb68d33e1a9398b6e03188"
DEPENDS = "zlib file-native"
DEPENDS_class-native = "zlib-native"
PR = "r1"
SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \
file://fix_version_check.patch \
file://obsolete_automake_macros.patch \
file://dump \
file://filesystems"
SRC_URI[md5sum] = "16a407bd66d6c7a832f3a5c0d609c27b"
SRC_URI[sha256sum] = "c70ae29a28c0585f541d5916fc3248c3e91baa481f63d7ccec53d1534cbcc9b7"
inherit autotools
do_configure_prepend() {
cp ${WORKDIR}/dump ${S}/magic/Magdir/
cp ${WORKDIR}/filesystems ${S}/magic/Magdir/
}
FILES_${PN} += "${datadir}/misc/*.mgc"
do_install_append_class-native() {
create_cmdline_wrapper ${D}/${bindir}/file \
--magic-file ${datadir}/misc/magic.mgc
}
BBCLASSEXTEND = "native"