snowball: fixed shared library symlink

This commit is contained in:
Tim Biermann 2023-09-07 17:13:45 +02:00
parent 0cb7c1e9bf
commit c168bfa07f
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 11 additions and 10 deletions

View File

@ -6,6 +6,6 @@ drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/libstemmer.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libstemmer.a
lrwxrwxrwx root/root usr/lib/libstemmer.so.2.2.0 -> libstemmer.so.2.2.0
lrwxrwxrwx root/root usr/lib/libstemmer.so.2 -> libstemmer.so.2
lrwxrwxrwx root/root usr/lib/libstemmer.so -> libstemmer.so.0
lrwxrwxrwx root/root usr/lib/libstemmer.so -> libstemmer.so.2.2.0
lrwxrwxrwx root/root usr/lib/libstemmer.so.2 -> libstemmer.so.2.2.0
-rwxr-xr-x root/root usr/lib/libstemmer.so.2.2.0

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36kJYjZcGK/+i3KGEatJR0kntJfvVFg+lGyxNGMYvUxnuRqG6HO185Brr/fGpcsp3zcdVYFVIor0Hnq2o4T7Gg4=
SHA256 (Pkgfile) = 811fa7861f6186b69a9eac52efc59551899fd16279f608c1e5ea17927683b510
SHA256 (.footprint) = e892b0aa1e9d0a199f3792973758430d073e3c1b268a199361e35f287430e0f8
RWSagIOpLGJF3x3pU25EtRq1uI2tlL0OZN5EIYdKuaW+rfuDAFGV8go4k4oNu22xOyzdp/vmoGOngKFSqmYnBGR9OFWJL7T70gc=
SHA256 (Pkgfile) = c742619a8dbf1ca4f5af61a622c25d8b0edb504ccfcbcb6cda91fa61a96c9278
SHA256 (.footprint) = 411fc7134d27077bed260367e133afac3947502478502857de38ffe4ab097fa5
SHA256 (snowball-2.2.0.tar.gz) = 425cdb5fba13a01db59a1713780f0662e984204f402d3dae1525bda9e6d30f1a
SHA256 (dynamiclib.patch) = 0434f6fc2cc599f457d2aa353bc7793415915a243a07322505051e969d7778c2

View File

@ -1,11 +1,10 @@
# 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.2.0
release=2
release=3
source=(https://github.com/snowballstem/snowball/archive/v$version/$name-$version.tar.gz
dynamiclib.patch)
@ -19,6 +18,8 @@ build() {
install -t $PKG/usr/bin snowball stemwords
install -Dm644 {.,$PKG/usr}/include/libstemmer.h
install libstemmer.a $PKG/usr/lib
ln -s libstemmer.so.* $PKG/usr/lib/
ln -s libstemmer.so.0 $PKG/usr/lib/libstemmer.so
# dynamiclib.patch already puts into $PWD the shared libs
# libstemmer.so.$version and two symlinks to it, so just copy them
# (without dereferencing)
cp -P libstemmer.so* $PKG/usr/lib
}