aspell: cross build support.
This commit is contained in:
parent
9e1bac56b1
commit
65809ce0ff
1 changed files with 15 additions and 6 deletions
|
@ -1,11 +1,7 @@
|
|||
# Template file for 'aspell'
|
||||
pkgname=aspell
|
||||
version=0.60.6.1
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-compile-in-filters"
|
||||
hostmakedepends="perl"
|
||||
makedepends="ncurses-devel"
|
||||
revision=5
|
||||
short_desc="Spell checker with good multi-language support"
|
||||
homepage="http://aspell.net/"
|
||||
license="LGPL-2.1"
|
||||
|
@ -22,9 +18,22 @@ long_desc="
|
|||
and intelligently handling personal dictionaries when more than one Aspell
|
||||
process is open at once."
|
||||
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-compile-in-filters"
|
||||
hostmakedepends="perl"
|
||||
makedepends="ncurses-devel"
|
||||
|
||||
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}"
|
||||
short_desc+=" -- development files"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/bin/pspell-config
|
||||
|
|
Loading…
Reference in a new issue