forked from ports/contrib
snowball: added static library
This commit is contained in:
parent
0a49f1ff9e
commit
fd8411616d
@ -5,6 +5,7 @@ drwxr-xr-x root/root usr/bin/
|
||||
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
|
||||
|
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3zGWYyfxWHCwksFHRYVde/sMZ7r6rbqIPmXZxUA0oPnJU1pFufOYgl8d2DVXCMsqZHeUuN4DbTMZF7Q5jjKYLww=
|
||||
SHA256 (Pkgfile) = b76cfb8d52d5769d29144833f06714f7f29959a73fea6fd7721408772bf3a5a7
|
||||
SHA256 (.footprint) = aeda6485faed8f1f913b848f2e7dd01d264a1369cccc20973235280a47843d29
|
||||
RWSagIOpLGJF36kJYjZcGK/+i3KGEatJR0kntJfvVFg+lGyxNGMYvUxnuRqG6HO185Brr/fGpcsp3zcdVYFVIor0Hnq2o4T7Gg4=
|
||||
SHA256 (Pkgfile) = 811fa7861f6186b69a9eac52efc59551899fd16279f608c1e5ea17927683b510
|
||||
SHA256 (.footprint) = e892b0aa1e9d0a199f3792973758430d073e3c1b268a199361e35f287430e0f8
|
||||
SHA256 (snowball-2.2.0.tar.gz) = 425cdb5fba13a01db59a1713780f0662e984204f402d3dae1525bda9e6d30f1a
|
||||
SHA256 (dynamiclib.patch) = 0434f6fc2cc599f457d2aa353bc7793415915a243a07322505051e969d7778c2
|
||||
|
@ -5,19 +5,20 @@
|
||||
|
||||
name=snowball
|
||||
version=2.2.0
|
||||
release=1
|
||||
release=2
|
||||
source=(https://github.com/snowballstem/snowball/archive/v$version/$name-$version.tar.gz
|
||||
dynamiclib.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
patch -Np1 -i ../dynamiclib.patch
|
||||
cd $name-$version
|
||||
patch -Np1 -i ../dynamiclib.patch
|
||||
|
||||
make
|
||||
make
|
||||
|
||||
install -d $PKG/usr/{bin,lib}
|
||||
install -t $PKG/usr/bin snowball stemwords
|
||||
install -Dm644 {.,$PKG/usr}/include/libstemmer.h
|
||||
ln -s libstemmer.so.* $PKG/usr/lib/
|
||||
ln -s libstemmer.so.0 $PKG/usr/lib/libstemmer.so
|
||||
install -d $PKG/usr/{bin,lib}
|
||||
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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user