2009-05-14 00:31:57 +00:00
|
|
|
# Template file for 'aspell'
|
|
|
|
pkgname=aspell
|
2012-01-31 17:00:22 +00:00
|
|
|
version=0.60.6.1
|
2014-02-04 05:18:53 +00:00
|
|
|
revision=6
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-compile-in-filters"
|
|
|
|
hostmakedepends="perl"
|
|
|
|
makedepends="ncurses-devel"
|
|
|
|
depends="perl"
|
2009-05-14 00:31:57 +00:00
|
|
|
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"
|
2009-05-14 00:31:57 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-12 06:55:23 +00:00
|
|
|
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
|
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
aspell-devel_package() {
|
2014-02-04 05:18:53 +00:00
|
|
|
depends="ncurses-devel libstdc++-devel aspell>=${version}_${revision}"
|
2013-05-15 09:06:48 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/bin/pspell-config
|
|
|
|
vmove usr/share/info
|
|
|
|
vmove usr/share/man/man1/pspell-config.1
|
2014-02-04 05:18:53 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|