summaryrefslogtreecommitdiff
path: root/recipes-core/file-magic-db-images/file-magic-db-images_0.1.bb
diff options
context:
space:
mode:
authorPatrick Murphy <Patrick.Murphy@multitech.com>2020-04-30 13:04:00 -0500
committerJohn Klug <john.klug@multitech.com>2020-06-18 20:22:08 -0500
commit5724d72ffb2d6f4e44b65a92d5b69bcdf8551118 (patch)
treeff5b1f6243f931eccda3f378887681c086c0021e /recipes-core/file-magic-db-images/file-magic-db-images_0.1.bb
parenta3020c1257ad6bd653b5c619f1552b5e22fe7e0c (diff)
downloadmeta-mlinux-5724d72ffb2d6f4e44b65a92d5b69bcdf8551118.tar.gz
meta-mlinux-5724d72ffb2d6f4e44b65a92d5b69bcdf8551118.tar.bz2
meta-mlinux-5724d72ffb2d6f4e44b65a92d5b69bcdf8551118.zip
moved 5.2.1 changes to master
Diffstat (limited to 'recipes-core/file-magic-db-images/file-magic-db-images_0.1.bb')
-rw-r--r--recipes-core/file-magic-db-images/file-magic-db-images_0.1.bb27
1 files changed, 27 insertions, 0 deletions
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
+}