From 5724d72ffb2d6f4e44b65a92d5b69bcdf8551118 Mon Sep 17 00:00:00 2001 From: Patrick Murphy Date: Thu, 30 Apr 2020 13:04:00 -0500 Subject: moved 5.2.1 changes to master --- .../file-magic-db-images_0.1.bb | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 recipes-core/file-magic-db-images/file-magic-db-images_0.1.bb (limited to 'recipes-core/file-magic-db-images/file-magic-db-images_0.1.bb') diff --git a/recipes-core/file-magic-db-images/file-magic-db-images_0.1.bb b/recipes-core/file-magic-db-images/file-magic-db-images_0.1.bb new file mode 100644 index 0000000..43d3052 --- /dev/null +++ b/recipes-core/file-magic-db-images/file-magic-db-images_0.1.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Stripped MIME detection database for file(1) with definition of images" +HOMEPAGE = "http://www.darwinsys.com/file/" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;beginline=2;md5=6a7382872edb68d33e1a9398b6e03188" +DEPENDS = "file-native" +FILES_${PN} = "${datadir}/misc/magic-images.mgc" + +PV = "0.1" +PR = "r5" + +SRC_URI = "file://COPYING \ + file://Magdir/images \ + file://Magdir/jpeg \ + file://Magdir/msdos \ + file://Magdir/sgml" + +S = "${WORKDIR}" + +do_compile() { + ${STAGING_BINDIR_NATIVE}/file-native/file -v + ${STAGING_BINDIR_NATIVE}/file-native/file -C -m ${S}/Magdir +} + +do_install() { + install -d ${D}/${datadir}/misc/ + install -m 0644 ${WORKDIR}/Magdir.mgc ${D}/${datadir}/misc/magic-images.mgc +} -- cgit v1.2.3