void-packages/srcpkgs/aspell/template

35 lines
1,014 B
Bash
Raw Normal View History

# Template file for 'aspell'
pkgname=aspell
2012-01-31 17:00:22 +00:00
version=0.60.6.1
revision=8
build_style=gnu-configure
configure_args="--enable-compile-in-filters"
hostmakedepends="automake libtool gettext-devel 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@voidlinux.eu>"
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
pre_configure() {
# XXX workaround ctor/dtor ordering with musl
export CXXFLAGS="${CXXFLAGS/-O?/-O0}"
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
autoreconf -fi
}
2013-05-15 09:06:48 +00:00
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"
}
}