diff options
author | Qing He <qing.he@intel.com> | 2010-08-17 10:58:15 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 13:04:38 +0100 |
commit | 9a60cbcf48deac3d36643f03943b8b1b1c4dfd0e (patch) | |
tree | c5b92a49279d25120d69b5debf5c48ab300f9b3e /meta/packages/file/file_5.04.bb | |
parent | 6b039d0bb74d624b62f8cfc6167f287a24b75405 (diff) | |
download | openembedded-core-9a60cbcf48deac3d36643f03943b8b1b1c4dfd0e.tar.gz openembedded-core-9a60cbcf48deac3d36643f03943b8b1b1c4dfd0e.tar.bz2 openembedded-core-9a60cbcf48deac3d36643f03943b8b1b1c4dfd0e.tar.xz openembedded-core-9a60cbcf48deac3d36643f03943b8b1b1c4dfd0e.zip |
file: reinstate 5.04 upgrades with modifications
reinstate the patch since rpm recipe has been upgraded
> commit 21d586b47c8c5338913c5e8ca2ee604409cc57a0
> Author: Qing He <qing.he@intel.com>
> 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 <qing.he@intel.com>
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 <qing.he@intel.com>
Diffstat (limited to 'meta/packages/file/file_5.04.bb')
-rw-r--r-- | meta/packages/file/file_5.04.bb | 29 |
1 files changed, 29 insertions, 0 deletions
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" |