36 lines
1.0 KiB
Bash
36 lines
1.0 KiB
Bash
# Template file for 'aspell'
|
|
pkgname=aspell
|
|
version=0.60.7
|
|
revision=1
|
|
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"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1"
|
|
homepage="http://aspell.net/"
|
|
changelog="http://aspell.net/man-html/ChangeLog.html"
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=5ca8fc8cb0370cc6c9eb5b64c6d1bc5d57b3750dbf17887726c3407d833b70e4
|
|
|
|
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
|
|
}
|
|
|
|
aspell-devel_package() {
|
|
depends="ncurses-devel libstdc++-devel aspell>=${version}_${revision}"
|
|
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"
|
|
}
|
|
}
|