void-packages/srcpkgs/abiword/template

36 lines
1.2 KiB
Text

# Template file for 'abiword'
pkgname=abiword
version=3.0.0
revision=3
build_style=gnu-configure
configure_args="--enable-plugins --enable-clipart --enable-templates"
hostmakedepends="automake libtool flex pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel>=1.6
fribidi-devel libgsf-devel enchant-devel gtk+3-devel librsvg-devel
wv-devel>=1.2.9 boost-devel libxslt-devel libwmf-devel libchamplain-devel
redland-devel libical-devel"
replaces="abiword-plugins>=0"
depends="hicolor-icon-theme desktop-file-utils"
short_desc="Free word processing program similar to Microsoft(R) Word"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-3"
homepage="http://www.abisource.com/"
distfiles="${homepage}/downloads/${pkgname}/${version}/source/${pkgname}-${version}.tar.gz"
checksum=d17e318c00ff4eb353e0e7994b098b1d4f9ddd8712ac0261a0e38b89081fac01
libabiword_package() {
short_desc+=" - Runtime library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
abiword-devel_package() {
depends="fribidi-devel libgsf-devel wv-devel enchant-devel gtk-devel
librsvg-devel libabiword>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}