summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/findutils
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 16:29:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:26:30 +0100
commit825929cc3cd44008fa5ab110e80d13a5c965c12c (patch)
treeea800b2c5e5610107af23b9d081f75ca4ca6f594 /meta/recipes-extended/findutils
parenta4e13edf8950749caac526d4fdb72897e8b55619 (diff)
downloadpoky-825929cc3cd44008fa5ab110e80d13a5c965c12c.tar.gz
findutils: refactor common code to findutils.inc
(From OE-Core rev: 071a959d430402a78ca5b392c8387489da042c08) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/findutils')
-rw-r--r--meta/recipes-extended/findutils/findutils.inc5
-rw-r--r--meta/recipes-extended/findutils/findutils_4.2.31.bb29
-rw-r--r--meta/recipes-extended/findutils/findutils_4.4.2.bb6
3 files changed, 10 insertions, 30 deletions
diff --git a/meta/recipes-extended/findutils/findutils.inc b/meta/recipes-extended/findutils/findutils.inc
index 64909a1f8c..1fa9b97d0e 100644
--- a/meta/recipes-extended/findutils/findutils.inc
+++ b/meta/recipes-extended/findutils/findutils.inc
@@ -6,9 +6,6 @@ HOMEPAGE = "http://www.gnu.org/software/findutils/"
6BUGTRACKER = "http://savannah.gnu.org/bugs/?group=findutils" 6BUGTRACKER = "http://savannah.gnu.org/bugs/?group=findutils"
7SECTION = "console/utils" 7SECTION = "console/utils"
8 8
9# GPLv2+ (<< 4.2.32), GPLv3+ (>= 4.2.32)
10LICENSE = "GPLv3+"
11LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
12 9
13SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz" 10SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz"
14 11
@@ -23,3 +20,5 @@ ALTERNATIVE_PRIORITY = "100"
23# because it uses __mempcpy, there are other things (TBD: 20# because it uses __mempcpy, there are other things (TBD:
24# see diffutils.mk in buildroot) 21# see diffutils.mk in buildroot)
25EXTRA_OECONF_libc-uclibc = "--without-included-regex" 22EXTRA_OECONF_libc-uclibc = "--without-included-regex"
23
24BBCLASSEXTEND = "native"
diff --git a/meta/recipes-extended/findutils/findutils_4.2.31.bb b/meta/recipes-extended/findutils/findutils_4.2.31.bb
index 37da0ce340..38cdc219b9 100644
--- a/meta/recipes-extended/findutils/findutils_4.2.31.bb
+++ b/meta/recipes-extended/findutils/findutils_4.2.31.bb
@@ -1,33 +1,12 @@
1SUMMARY = "find, locate, and xargs binaries."
2DESCRIPTION = "The GNU Find Utilities are the basic directory searching utilities of the GNU operating system. \
3These programs are typically used in conjunction with other programs to provide modular and powerful directory \
4search and file locating capabilities to other commands."
5HOMEPAGE = "http://www.gnu.org/software/findutils/"
6BUGTRACKER = "http://savannah.gnu.org/bugs/?group=findutils"
7SECTION = "console/utils"
8
9LICENSE = "GPLv2+" 1LICENSE = "GPLv2+"
10LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" 2LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
11PR = "r3" 3PR = "r3"
12 4
13SRC_URI = "${GNU_MIRROR}/findutils/findutils-${PV}.tar.gz \ 5require findutils.inc
14 file://gnulib-extension.patch \ 6
15 file://findutils_fix_for_automake-1.12.patch \ 7SRC_URI += "file://gnulib-extension.patch \
8 file://findutils_fix_for_automake-1.12.patch \
16 " 9 "
17 10
18SRC_URI[md5sum] = "a0e31a0f18a49709bf5a449867c8049a" 11SRC_URI[md5sum] = "a0e31a0f18a49709bf5a449867c8049a"
19SRC_URI[sha256sum] = "e0d34b8faca0b3cca0703f6c6b498afbe72f0ba16c35980c10ec9ef7724d6204" 12SRC_URI[sha256sum] = "e0d34b8faca0b3cca0703f6c6b498afbe72f0ba16c35980c10ec9ef7724d6204"
20
21inherit autotools gettext update-alternatives
22
23ALTERNATIVE_LINKS = "${bindir}/find ${bindir}/xargs"
24ALTERNATIVE_PRIORITY = "100"
25
26# diffutils assumes non-glibc compilation with uclibc and
27# this causes it to generate its own implementations of
28# standard functionality. regex.c actually breaks compilation
29# because it uses __mempcpy, there are other things (TBD:
30# see diffutils.mk in buildroot)
31EXTRA_OECONF_libc-uclibc = "--without-included-regex"
32
33BBCLASSEXTEND = "native"
diff --git a/meta/recipes-extended/findutils/findutils_4.4.2.bb b/meta/recipes-extended/findutils/findutils_4.4.2.bb
index 34e53d2eea..3f493007a5 100644
--- a/meta/recipes-extended/findutils/findutils_4.4.2.bb
+++ b/meta/recipes-extended/findutils/findutils_4.4.2.bb
@@ -1,5 +1,9 @@
1require findutils.inc 1require findutils.inc
2 2
3# GPLv2+ (<< 4.2.32), GPLv3+ (>= 4.2.32)
4LICENSE = "GPLv3+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949"
6
3PR = "r6" 7PR = "r6"
4 8
5SRC_URI += "file://01-27017.patch \ 9SRC_URI += "file://01-27017.patch \
@@ -18,5 +22,3 @@ DEPENDS = "bison-native"
18CACHED_CONFIGUREVARS += "${@base_contains('DISTRO_FEATURES', 'libc-posix-clang-wchar', 'gl_cv_func_wcwidth_works=yes', '', d)}" 22CACHED_CONFIGUREVARS += "${@base_contains('DISTRO_FEATURES', 'libc-posix-clang-wchar', 'gl_cv_func_wcwidth_works=yes', '', d)}"
19 23
20EXTRA_OECONF += "ac_cv_path_SORT=${bindir}/sort" 24EXTRA_OECONF += "ac_cv_path_SORT=${bindir}/sort"
21
22BBCLASSEXTEND = "native"