aboutsummaryrefslogtreecommitdiffstats
path: root/main/hunspell/APKBUILD
blob: 6883855aee4bd4ec1a23d7074f4ac876dcf4f674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hunspell
pkgver=1.2.8
pkgrel=0
pkgdesc="Spell checker and morphological analyzer library and program"
url="http://hunspell.sourceforge.net/"
license="GPL LGPL MPL"
subpackages="$pkgname-dev $pkgname-doc"
depends="libgcc uclibc++"
makedepends="uclibc++-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"

build ()
{
	cd "$srcdir/hunspell-$pkgver"
	export CXX="${CXX_UC:-g++-uc}"

	./configure --prefix=/usr --disable-static || return 1
	make || return 1
	make DESTDIR="$pkgdir" install || return 1
	rm -rf "$pkgdir"/usr/share/locale/locale.alias
}
md5sums="1177af54a09e320d2c24015f29c3a93e  hunspell-1.2.8.tar.gz"