summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libstemmer/libstemmer_git.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-04-02 10:19:39 -0700
committerKhem Raj <raj.khem@gmail.com>2023-04-02 10:21:18 -0700
commit60afa577e5656a7c82c902da11adc031d71ef8db (patch)
tree8f252af0afd870a22a5cc78bfa9fdd02df05bf0d /meta-oe/recipes-support/libstemmer/libstemmer_git.bb
parent77c6192de729eae1d2680933f5e434a5453957e2 (diff)
downloadmeta-openembedded-60afa577e5656a7c82c902da11adc031d71ef8db.tar.gz
libstemmer: Update to 2.2.0
Rename recipe to reflect PV Refresh solibs build patch Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libstemmer/libstemmer_git.bb')
-rw-r--r--meta-oe/recipes-support/libstemmer/libstemmer_git.bb38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-oe/recipes-support/libstemmer/libstemmer_git.bb b/meta-oe/recipes-support/libstemmer/libstemmer_git.bb
deleted file mode 100644
index 7f0706e207..0000000000
--- a/meta-oe/recipes-support/libstemmer/libstemmer_git.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1SUMMARY = "Snowball compiler and stemming algorithms"
2HOMEPAGE = "https://snowballstem.org/"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://COPYING;md5=19139aaf3c8c8fa1ca6edd59c072fb9f"
5
6DEPENDS:class-target = "${BPN}-native"
7
8SRC_URI = "\
9 git://github.com/snowballstem/snowball.git;branch=master;protocol=https \
10 file://0001-Build-so-lib.patch \
11"
12SRCREV = "4764395431c8f2a0b4fe18b816ab1fc966a45837"
13S = "${WORKDIR}/git"
14PV = "2.1.0"
15LIBVER = "0.0.0"
16
17inherit lib_package
18
19BBCLASSEXTEND = "native"
20
21do_compile:prepend:class-target() {
22 # use native tools
23 sed -i 's:./snowball :snowball :g' ${S}/GNUmakefile
24}
25
26do_install() {
27 install -d ${D}${bindir}
28 install -m 755 ${S}/snowball ${D}${bindir}
29 install -m 755 ${S}/stemwords ${D}${bindir}
30
31 install -d ${D}${libdir}
32 install -m 755 ${S}/libstemmer.so.${LIBVER} ${D}${libdir}/
33 ln -s libstemmer.so.${LIBVER} ${D}${libdir}/libstemmer.so.0
34 ln -s libstemmer.so.${LIBVER} ${D}${libdir}/libstemmer.so
35
36 install -d ${D}${includedir}
37 install -m 644 ${S}/include/*.h ${D}${includedir}
38}