aboutsummaryrefslogtreecommitdiffstats
path: root/community/snowball
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 07:54:36 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-22 07:54:36 +0000
commit8ce0f835b722d4427705adaf542f994da5012b4d (patch)
treec4ced6a73a097055600f64759265acc0ff5a52ab /community/snowball
parentbcd5ff54517890cb120d6884fb5660bc465b0236 (diff)
downloadaports-8ce0f835b722d4427705adaf542f994da5012b4d.tar.bz2
aports-8ce0f835b722d4427705adaf542f994da5012b4d.tar.xz
community/snowball: moved from testing
Diffstat (limited to 'community/snowball')
-rw-r--r--community/snowball/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/snowball/APKBUILD b/community/snowball/APKBUILD
new file mode 100644
index 0000000000..29313d9baa
--- /dev/null
+++ b/community/snowball/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=snowball
+_pkgname=libstemmer
+pkgver=0_git20140929
+pkgrel=0
+pkgdesc="Snowball rule-based stemming algorithms"
+url="http://snowball.tartarus.org"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=""
+makedepends="$depends_dev perl"
+install=""
+subpackages="$pkgname-dev"
+disturl="dev.alpinelinux.org:/archive/$pkgname/"
+snapshot="full"
+source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
+
+build() {
+ cd "$_builddir"
+ make CC='gcc -fPIC' || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -d ${pkgdir}/usr/bin || return 1
+ install stemwords ${pkgdir}/usr/bin || return 1
+ install -d ${pkgdir}/usr/include || return 1
+ install include/libstemmer.h ${pkgdir}/usr/include || return 1
+ install -d ${pkgdir}/usr/lib || return 1
+ install libstemmer.o ${pkgdir}/usr/lib/libstemmer.a || return 1
+}
+
+md5sums="722407e81deb75ad18eb4f56815531c3 snowball-0_git20140929.tar.gz"
+sha256sums="7f54c97dabf1acde637695dcb47331884fcd6fe63f3ad6c9e7cccb786accecda snowball-0_git20140929.tar.gz"
+sha512sums="a8c7426ae9e1fc4397845ace6a8d24b1ff555150f210ece76add92bb6a3092c47305577a265f6aba6fc49d6dd6bc6cb8bb4ce523979f479b176f2ffad0477ac3 snowball-0_git20140929.tar.gz"