void-packages/srcpkgs/hunspell/template

34 lines
869 B
Text
Raw Normal View History

# Template file for 'hunspell'
pkgname=hunspell
version=1.3.2
revision=1
build_style=gnu-configure
configure_args="--with-ui"
hostmakedepends="pkg-config bison"
makedepends="ncurses-devel"
short_desc="An Improved spellchecker"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-29 12:25:07 +00:00
homepage="http://hunspell.sourceforge.net"
license="GPL-2, LGPL, MPL"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=b4edd4a4ee944cb9f485b35473e46b729ed768e9d24da8e78e4c4c6ca56addbd
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
}
}