void-packages/srcpkgs/hunspell/template
2015-05-10 11:45:41 +02:00

32 lines
871 B
Bash

# Template file for 'hunspell'
pkgname=hunspell
version=1.3.3
revision=3
build_style=gnu-configure
configure_args="--with-ui"
hostmakedepends="pkg-config bison"
makedepends="ncurses-devel"
short_desc="An Improved spellchecker"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://hunspell.sourceforge.net"
license="GPL-2, LGPL, MPL"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c
libhunspell_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
hunspell-devel_package() {
depends="libstdc++-devel ncurses-devel lib${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}