# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup snowballstem snowball e87eced
description Algorithmic Stemmer Library
long_description Snowball is a language in which stemming algorithms can \
be easily represented. The Snowball compiler translates a \
Snowball script (a .sbl file) into either a thread-safe \
ANSI C program or a Java program. For ANSI C, each \
Snowball script produces a program file and corresponding \
header file (with .c and .h extensions). This port \
delivers the ANSI C library build
homepage http://snowballstem.org/
checksums rmd160 576e781bcb8f1e1eca462bcb544d7fe3be92daae \
sha256 9114126684b75b9aaaa27bf596968e8d4d77d8080c7898d34e2e8ea00cf8c80d
build.target libstemmer.o
build.args-append CC="${configure.cc} [get_canonical_archflags cc]"
copy ${worksrcpath}/libstemmer.o ${worksrcpath}/libstemmer.a
system -W ${worksrcpath} "ranlib libstemmer.a"
xinstall -m 644 -W ${worksrcpath}/include libstemmer.h ${destroot}${prefix}/include
xinstall -m 644 -W ${worksrcpath} libstemmer.a ${destroot}${prefix}/lib