diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-05-22 22:16:25 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-05-22 22:16:25 +0000 |
| commit | fd320cb73cfe7550b3446cd8cf091cf60f7e0b34 (patch) | |
| tree | 45e294b8d7cef7ca6dff8b675aa50cf27696e099 /openembedded | |
| parent | fe4f9d5061e59a8298739de40ca8ab766e132fee (diff) | |
| download | poky-fd320cb73cfe7550b3446cd8cf091cf60f7e0b34.tar.gz | |
Add file (and file-native)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@408 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded')
| -rw-r--r-- | openembedded/packages/file/file-native_4.16.bb | 8 | ||||
| -rw-r--r-- | openembedded/packages/file/file_4.16.bb | 18 | ||||
| -rw-r--r-- | openembedded/packages/file/files/native-fix.diff | 13 |
3 files changed, 39 insertions, 0 deletions
diff --git a/openembedded/packages/file/file-native_4.16.bb b/openembedded/packages/file/file-native_4.16.bb new file mode 100644 index 0000000000..3228ed683c --- /dev/null +++ b/openembedded/packages/file/file-native_4.16.bb | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | include file_${PV}.bb | ||
| 2 | inherit native | ||
| 3 | |||
| 4 | # avoid dependency loop | ||
| 5 | DEPENDS = "" | ||
| 6 | PR = "r1" | ||
| 7 | |||
| 8 | SRC_URI += "file://native-fix.diff;patch=1" | ||
diff --git a/openembedded/packages/file/file_4.16.bb b/openembedded/packages/file/file_4.16.bb new file mode 100644 index 0000000000..3e579c5ef4 --- /dev/null +++ b/openembedded/packages/file/file_4.16.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | DESCRIPTION = "File attempts to classify files depending \ | ||
| 2 | on their contents and prints a description if a match is found." | ||
| 3 | SECTION = "console/utils" | ||
| 4 | LICENSE = "BSD-ADV" | ||
| 5 | DEPENDS = "file-native" | ||
| 6 | |||
| 7 | SRC_URI = "ftp://ftp.astron.com/pub/file/file-${PV}.tar.gz" | ||
| 8 | S = "${WORKDIR}/file-${PV}" | ||
| 9 | |||
| 10 | inherit autotools | ||
| 11 | |||
| 12 | do_configure_prepend() { | ||
| 13 | sed -i -e 's,$(top_builddir)/src/file,file,' ${S}/magic/Makefile.am | ||
| 14 | } | ||
| 15 | |||
| 16 | do_stage() { | ||
| 17 | autotools_stage_all | ||
| 18 | } | ||
diff --git a/openembedded/packages/file/files/native-fix.diff b/openembedded/packages/file/files/native-fix.diff new file mode 100644 index 0000000000..d17215a1b4 --- /dev/null +++ b/openembedded/packages/file/files/native-fix.diff | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | Index: file-4.16/magic/Makefile.am | ||
| 2 | =================================================================== | ||
| 3 | --- file-4.16.orig/magic/Makefile.am 2005-08-18 17:20:49.000000000 +0200 | ||
| 4 | +++ file-4.16/magic/Makefile.am 2006-03-08 17:01:13.000000000 +0100 | ||
| 5 | @@ -18,7 +18,7 @@ | ||
| 6 | if IS_CROSS_COMPILE | ||
| 7 | FILE_COMPILE = file | ||
| 8 | else | ||
| 9 | -FILE_COMPILE = $(top_builddir)/src/file | ||
| 10 | +FILE_COMPILE = ../src/file | ||
| 11 | endif | ||
| 12 | |||
| 13 | magic.mgc: magic | ||
