From 4baec85542ea9f161fe78046691005c411ef4484 Mon Sep 17 00:00:00 2001 From: Max Rees Date: Thu, 9 Aug 2018 22:53:02 -0400 Subject: user/libexttextcat: pull in, fix license --- user/libexttextcat/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 user/libexttextcat/APKBUILD (limited to 'user/libexttextcat') diff --git a/user/libexttextcat/APKBUILD b/user/libexttextcat/APKBUILD new file mode 100644 index 000000000..48fb2df18 --- /dev/null +++ b/user/libexttextcat/APKBUILD @@ -0,0 +1,40 @@ +# Contributor: Timo Teräs +# Maintainer: Max Rees +pkgname=libexttextcat +pkgver=3.4.5 +pkgrel=1 +pkgdesc="An N-Gram-based text categorization library" +url="https://wiki.documentfoundation.org/Libexttextcat" +arch="all" +license="BSD-3-Clause" +depends="" +makedepends="" +checkdepends="bash" +subpackages="$pkgname-dev" +source="http://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --disable-werror + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="f05a9f08c2f2f335d0e483c024321b96fee7424bc1398d4c6acbd9c501f92e22f881bc3d6ec2c0434f9bf4604f3c4b0e880e37d3d0de410eac1a20ea6669baa6 libexttextcat-3.4.5.tar.xz" -- cgit v1.2.3-70-g09d2