From 9a60cbcf48deac3d36643f03943b8b1b1c4dfd0e Mon Sep 17 00:00:00 2001 From: Qing He Date: Tue, 17 Aug 2010 10:58:15 +0800 Subject: file: reinstate 5.04 upgrades with modifications reinstate the patch since rpm recipe has been upgraded > commit 21d586b47c8c5338913c5e8ca2ee604409cc57a0 > Author: Qing He > Date: Tue Jul 6 13:19:10 2010 +0800 > > file: upgrade to version 5.04 > > from 4.18 > > changes: > - remove native-fix.patch and sed line in do_configure_prepend, > AM_CONDITIONAL(IS_CROSS_COMPILE, ...) works well > - fix the bug of not packaging ${datadir}/misc/magic.mgc, > without this file, this utility isn't very useful > - add zlib as explicit build dependency > > Signed-off-by: Qing He new changes: - string/B is not supported in file 5.04, add an alias to string/W - '>=' and '<=' was not supported, add an extension for existing usage Signed-off-by: Qing He --- meta/packages/file/file_5.04.bb | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta/packages/file/file_5.04.bb (limited to 'meta/packages/file/file_5.04.bb') diff --git a/meta/packages/file/file_5.04.bb b/meta/packages/file/file_5.04.bb new file mode 100644 index 000000000..afc08162d --- /dev/null +++ b/meta/packages/file/file_5.04.bb @@ -0,0 +1,29 @@ +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_virtclass-native = "zlib-native" +PR = "r1" + +SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \ + file://stringb-compat.patch \ + file://ge-le.patch \ + file://dump \ + file://filesystems" + +inherit autotools + +do_configure_prepend() { + cp ${WORKDIR}/dump ${S}/magic/Magdir/ + cp ${WORKDIR}/filesystems ${S}/magic/Magdir/ +} + +FILES_${PN} += "${datadir}/misc/*.mgc" + +BBCLASSEXTEND = "native" -- cgit v1.2.3