void-packages/srcpkgs/enchant/template
2014-02-04 06:22:32 +01:00

30 lines
906 B
Text

# Template file for 'enchant'
pkgname=enchant
version=1.4.2
revision=7
build_style=gnu-configure
configure_args="--disable-zemberek --disable-ispell"
hostmakedepends="automake libtool pkg-config"
makedepends="glib-devel aspell-devel hunspell-devel>=1.3.2"
short_desc="Generic spell checking library"
homepage="http://www.abisource.com/projects/enchant/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.abisource.com/downloads/enchant/$version/enchant-$version.tar.gz"
checksum=95c8dd998c8fb436329d204e0edde4400b889e4e26d3f8cb888c408c9a9acc6a
pre_configure() {
autoreconf -fi
}
enchant-devel_package() {
depends="glib-devel aspell-devel hunspell-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/enchant/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}