forked from ports/contrib
25 lines
697 B
Plaintext
25 lines
697 B
Plaintext
# Description: String processing language for creating stemming algorithms
|
|
# URL: https://snowballstem.org/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on:
|
|
|
|
name=snowball
|
|
version=2.0.0
|
|
release=1
|
|
source=(https://github.com/snowballstem/snowball/archive/v$version/$name-$version.tar.gz
|
|
dynamiclib.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
patch -Np1 -i ../dynamiclib.patch
|
|
|
|
make
|
|
|
|
install -d $PKG/usr/bin
|
|
install -t $PKG/usr/bin snowball stemwords
|
|
install -Dm644 {.,$PKG/usr}/include/libstemmer.h
|
|
install -D {.,$PKG/usr/lib}/libstemmer.so.0.0.0
|
|
ln -s libstemmer.so.0.0.0 $PKG/usr/lib/libstemmer.so.0
|
|
ln -s libstemmer.so.0 $PKG/usr/lib/libstemmer.so
|
|
}
|