From 21d586b47c8c5338913c5e8ca2ee604409cc57a0 Mon Sep 17 00:00:00 2001 From: Qing He Date: Tue, 6 Jul 2010 13:19:10 +0800 Subject: 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 --- meta/packages/file/file_4.18.bb | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 meta/packages/file/file_4.18.bb (limited to 'meta/packages/file/file_4.18.bb') diff --git a/meta/packages/file/file_4.18.bb b/meta/packages/file/file_4.18.bb deleted file mode 100644 index 4c8e64c30..000000000 --- a/meta/packages/file/file_4.18.bb +++ /dev/null @@ -1,25 +0,0 @@ -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" - -DEPENDS = "file-native" -DEPENDS_virtclass-native = "" - -SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz \ - file://dump \ - file://filesystems" -SRC_URI_append_virtclass-native = " file://native-fix.diff;patch=1" - -inherit autotools - -do_configure_prepend() { - sed -i -e 's,$(top_builddir)/src/file,file,' ${S}/magic/Makefile.am - cp ${WORKDIR}/dump ${S}/magic/Magdir/ - cp ${WORKDIR}/filesystems ${S}/magic/Magdir/ -} - -BBCLASSEXTEND = "native" -- cgit v1.2.3