diff options
Diffstat (limited to 'recipes-extended/gperf')
-rw-r--r-- | recipes-extended/gperf/gperf.inc | 22 | ||||
-rw-r--r-- | recipes-extended/gperf/gperf_3.0.3.bb | 10 |
2 files changed, 32 insertions, 0 deletions
diff --git a/recipes-extended/gperf/gperf.inc b/recipes-extended/gperf/gperf.inc new file mode 100644 index 0000000..a8ce230 --- /dev/null +++ b/recipes-extended/gperf/gperf.inc | |||
@@ -0,0 +1,22 @@ | |||
1 | DESCRIPTION = "GNU gperf is a perfect hash function generator" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/gperf" | ||
3 | SUMMARY = "Generate a perfect hash function from a set of keywords" | ||
4 | LICENSE = "GPLv3+" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
6 | file://src/main.cc;beginline=8;endline=19;md5=dec8f611845d047387ed56b5b85fa99b" | ||
7 | |||
8 | SRC_URI = "${GNU_MIRROR}/gperf/gperf-${PV}.tar.gz" | ||
9 | |||
10 | inherit 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 | ||
14 | EXTRA_AUTORECONF += " -I ${S}" | ||
15 | |||
16 | do_configure_prepend() { | ||
17 | if [ ! -e ${S}/acinclude.m4 ]; then | ||
18 | cat ${S}/aclocal.m4 > ${S}/acinclude.m4 | ||
19 | fi | ||
20 | } | ||
21 | |||
22 | BBCLASSEXTEND = "native" | ||
diff --git a/recipes-extended/gperf/gperf_3.0.3.bb b/recipes-extended/gperf/gperf_3.0.3.bb new file mode 100644 index 0000000..7728861 --- /dev/null +++ b/recipes-extended/gperf/gperf_3.0.3.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | require gperf.inc | ||
2 | |||
3 | LICENSE = "GPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=a5f84abb0070adf8a0925d7d534b6e0a \ | ||
5 | file://src/main.cc;beginline=8;endline=19;md5=72a3034a19e72f08ee48ef8244a121fd" | ||
6 | |||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI[md5sum] = "cc20e58975a38075440423c8fb85fd00" | ||
10 | SRC_URI[sha256sum] = "63287527c8d9e27e801cf0804436f3494bd569db05d49dcdd2a942ae72fa9055" | ||