Created
August 2, 2014 00:52
-
-
Save akhenakh/a2a2a0ff6fd643860502 to your computer and use it in GitHub Desktop.
libstemmer archlinux armv6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contributor: Andreas Baumann <abaumann at yahoo dot com> | |
pkgname=snowball-c | |
pkgver=20140401 | |
pkgrel=1 | |
pkgdesc="Snowball rule-based stemming algorithms (shared lib + stemwords executable)" | |
arch=('i686' 'x86_64', 'armv6h') | |
url='http://snowball.tartarus.org/' | |
license=('BSD') | |
makedepends=() | |
depends=() | |
provides=() | |
source=(http://snowball.tartarus.org/dist/libstemmer_c.tgz) | |
md5sums=('fc7f6930d843bc65e69f9151262f4153') | |
build() { | |
cd ${srcdir}/libstemmer_c | |
CC='gcc -O2 -fPIC' | |
make CC="$CC" | |
install -d ${pkgdir}/usr/lib | |
$CC -shared -o ${pkgdir}/usr/lib/libstemmer.so $CFLAGS -Wl,--whole-archive ${srcdir}/libstemmer_c/libstemmer.o -Wl,--no-whole-archive $LDFLAGS | |
install -d ${pkgdir}/usr/bin | |
install ${srcdir}/libstemmer_c/stemwords ${pkgdir}/usr/bin | |
install -d ${pkgdir}/usr/include | |
install ${srcdir}/libstemmer_c/include/libstemmer.h ${pkgdir}/usr/include | |
#install ${srcdir}/libstemmer_c/libstemmer.o ${pkgdir}/usr/lib/libstemmer.a | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment