mirror of
git://git.yoctoproject.org/poky
synced 2026-09-26 14:16:56 +00:00
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>
30 lines
783 B
BlitzBasic
30 lines
783 B
BlitzBasic
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"
|