diff options
author | Kevin Tian <kevin.tian@intel.com> | 2010-07-19 10:21:28 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-21 21:44:37 +0100 |
commit | 856769b0016c480627c9302b8dc8d2f479058120 (patch) | |
tree | e60676dcdda9590bf7056c016462b159233d9144 /meta/packages/gperf/gperf.inc | |
parent | 98cdb305585e1e376d9811cfaa7c86399075c668 (diff) | |
download | openembedded-core-856769b0016c480627c9302b8dc8d2f479058120.tar.gz openembedded-core-856769b0016c480627c9302b8dc8d2f479058120.tar.bz2 openembedded-core-856769b0016c480627c9302b8dc8d2f479058120.zip |
gperf: upgrade to 3.0.4
[Patches]
REMOVE _autoreconf.patch_: no need to duplicate acinclude.m4 in every subdirectory
[Recipe]
- Keep original 3.0.3 version for GPLv2 requirement. 3.0.4 has bumped to GPLv3+
- add gperf.inc for common lines
- instead of duplicating acinclude.m4 in every subdirectory, use " -I ${S}" to
ensure acinlude.m4 successfully found by m4_include
Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Diffstat (limited to 'meta/packages/gperf/gperf.inc')
-rw-r--r-- | meta/packages/gperf/gperf.inc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/gperf/gperf.inc b/meta/packages/gperf/gperf.inc new file mode 100644 index 0000000000..a521e0943b --- /dev/null +++ b/meta/packages/gperf/gperf.inc @@ -0,0 +1,22 @@ +DESCRIPTION = "GNU gperf is a perfect hash function generator" +HOMEPAGE = "http://www.gnu.org/software/gperf" +SUMMARY = "Generate a perfect hash function from a set of keywords" +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://src/main.cc;firstline=8;endline=19;md5=24688d2dff69bcf5cbea4bc3e4174c5a" + +SRC_URI = "${GNU_MIRROR}/gperf/gperf-${PV}.tar.gz" + +inherit autotools + +# autoreconf couldn't find acinclude.m4 when stepping into subdirectory. Instead of +# duplicating acinclude.m4 in every subdirectory, use absolute include path to aclocal +EXTRA_AUTORECONF += " -I ${S}" + +do_configure_prepend() { + if [ ! -e acinclude.m4 ]; then + cat aclocal.m4 > acinclude.m4 + fi +} + +BBCLASSEXTEND = "native" |