void-packages/srcpkgs/aspell/template

36 lines
981 B
Text
Raw Normal View History

# Template file for 'aspell'
pkgname=aspell
2012-01-31 17:00:22 +00:00
version=0.60.6.1
revision=6
build_style=gnu-configure
configure_args="--enable-compile-in-filters"
hostmakedepends="perl"
makedepends="ncurses-devel"
depends="perl"
short_desc="Spell checker with good multi-language support"
2013-03-30 10:50:16 +00:00
homepage="http://aspell.net/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
2012-01-31 17:00:22 +00:00
checksum=f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1
2013-05-15 09:06:48 +00:00
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" automake libtool gettext-devel"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
autoreconf -fi
}
fi
aspell-devel_package() {
depends="ncurses-devel libstdc++-devel aspell>=${version}_${revision}"
2013-05-15 09:06:48 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/bin/pspell-config
vmove usr/share/info
vmove usr/share/man/man1/pspell-config.1
vmove "usr/lib/*.so"
}
}