void-packages/srcpkgs/hunspell/template
2014-02-04 06:14:14 +01:00

33 lines
869 B
Text

# 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>"
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
}
}