summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-11-30 12:47:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-10 22:45:19 +0000
commit567ec7aa6b6a89d3e5a01cc621b0cd9903cc4668 (patch)
tree6afcff00c5178bad6c083d78620363eb35a034cd /meta/recipes-extended
parent58a8c840a0cf1216cb282c9c8df7777bd93b1cc8 (diff)
downloadpoky-567ec7aa6b6a89d3e5a01cc621b0cd9903cc4668.tar.gz
gperf: merge inc into bb
(From OE-Core rev: 28b7ff06d685873aee54b6c27caab3e9518c004a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/gperf/gperf.inc22
-rw-r--r--meta/recipes-extended/gperf/gperf_3.1.bb23
2 files changed, 21 insertions, 24 deletions
diff --git a/meta/recipes-extended/gperf/gperf.inc b/meta/recipes-extended/gperf/gperf.inc
deleted file mode 100644
index a8ce230f65..0000000000
--- a/meta/recipes-extended/gperf/gperf.inc
+++ /dev/null
@@ -1,22 +0,0 @@
1DESCRIPTION = "GNU gperf is a perfect hash function generator"
2HOMEPAGE = "http://www.gnu.org/software/gperf"
3SUMMARY = "Generate a perfect hash function from a set of keywords"
4LICENSE = "GPLv3+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
6 file://src/main.cc;beginline=8;endline=19;md5=dec8f611845d047387ed56b5b85fa99b"
7
8SRC_URI = "${GNU_MIRROR}/gperf/gperf-${PV}.tar.gz"
9
10inherit autotools
11
12# autoreconf couldn't find acinclude.m4 when stepping into subdirectory. Instead of
13# duplicating acinclude.m4 in every subdirectory, use absolute include path to aclocal
14EXTRA_AUTORECONF += " -I ${S}"
15
16do_configure_prepend() {
17 if [ ! -e ${S}/acinclude.m4 ]; then
18 cat ${S}/aclocal.m4 > ${S}/acinclude.m4
19 fi
20}
21
22BBCLASSEXTEND = "native"
diff --git a/meta/recipes-extended/gperf/gperf_3.1.bb b/meta/recipes-extended/gperf/gperf_3.1.bb
index 942820b91d..c680ee183c 100644
--- a/meta/recipes-extended/gperf/gperf_3.1.bb
+++ b/meta/recipes-extended/gperf/gperf_3.1.bb
@@ -1,5 +1,24 @@
1require gperf.inc 1DESCRIPTION = "GNU gperf is a perfect hash function generator"
2 2HOMEPAGE = "http://www.gnu.org/software/gperf"
3SUMMARY = "Generate a perfect hash function from a set of keywords"
4LICENSE = "GPLv3+"
5LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
6 file://src/main.cc;beginline=8;endline=19;md5=dec8f611845d047387ed56b5b85fa99b"
3 7
8SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz"
4SRC_URI[md5sum] = "9e251c0a618ad0824b51117d5d9db87e" 9SRC_URI[md5sum] = "9e251c0a618ad0824b51117d5d9db87e"
5SRC_URI[sha256sum] = "588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2" 10SRC_URI[sha256sum] = "588546b945bba4b70b6a3a616e80b4ab466e3f33024a352fc2198112cdbb3ae2"
11
12inherit autotools
13
14# autoreconf couldn't find acinclude.m4 when stepping into subdirectory. Instead of
15# duplicating acinclude.m4 in every subdirectory, use absolute include path to aclocal
16EXTRA_AUTORECONF += " -I ${S}"
17
18do_configure_prepend() {
19 if [ ! -e ${S}/acinclude.m4 ]; then
20 cat ${S}/aclocal.m4 > ${S}/acinclude.m4
21 fi
22}
23
24BBCLASSEXTEND = "native"