void-packages/srcpkgs/aspell/template
2015-05-12 18:21:39 +02:00

34 lines
1,014 B
Bash

# Template file for 'aspell'
pkgname=aspell
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"
homepage="http://aspell.net/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f52583a83a63633701c5f71db3dc40aab87b7f76b29723aeb27941eff42df6e1
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"
}
}