mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-16 06:30:16 +00:00
fc78d37ff0
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
37 lines
1.0 KiB
BlitzBasic
37 lines
1.0 KiB
BlitzBasic
SUMMARY = "Snowball compiler and stemming algorithms"
|
|
HOMEPAGE = "https://snowballstem.org/"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=19139aaf3c8c8fa1ca6edd59c072fb9f"
|
|
|
|
DEPENDS:append:class-target = " ${BPN}-native"
|
|
|
|
SRC_URI = "git://github.com/snowballstem/snowball.git;branch=master;protocol=https \
|
|
file://0001-Build-so-lib.patch \
|
|
"
|
|
SRCREV = "48a67a2831005f49c48ec29a5837640e23e54e6b"
|
|
|
|
LIBVER = "0.0.0"
|
|
|
|
inherit lib_package
|
|
|
|
do_compile:prepend:class-target() {
|
|
# use native tools
|
|
sed -i 's:./snowball :snowball :g' ${S}/GNUmakefile
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 755 ${S}/snowball ${D}${bindir}
|
|
install -m 755 ${S}/stemwords ${D}${bindir}
|
|
|
|
install -d ${D}${libdir}
|
|
install -m 755 ${S}/libstemmer.so.${LIBVER} ${D}${libdir}/
|
|
ln -s libstemmer.so.${LIBVER} ${D}${libdir}/libstemmer.so.0
|
|
ln -s libstemmer.so.${LIBVER} ${D}${libdir}/libstemmer.so
|
|
|
|
install -d ${D}${includedir}
|
|
install -m 644 ${S}/include/*.h ${D}${includedir}
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|