void-packages/srcpkgs/abiword/template

50 lines
1.3 KiB
Text

# Template file for 'abiword'
pkgname=abiword
version=3.0.0
revision=2
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 boost-devel libxslt-devel libwmf-devel libchamplain-devel
redland-devel libical-devel"
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
CPPFLAGS="-I/usr/include/boost"
libabiword_package() {
short_desc+=" - Runtime library"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
abiword-plugins_package() {
short_desc+=" - Plugins"
pkg_install() {
vmove usr/lib/abiword-3.0/plugins
}
}
abiword-devel_package() {
depends="fribidi-devel libgsf-devel wv-devel enchant-devel gtk-devel
librsvg-devel libabiword>=${version}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
abiword_package() {
depends="hicolor-icon-theme desktop-file-utils"
pkg_install() {
vmove all
}
}