void-packages/srcpkgs/abiword/template

50 lines
1.4 KiB
Plaintext

# Template file for 'abiword'
pkgname=abiword
version=2.8.6
revision=8
build_style=gnu-configure
configure_args="--enable-shave --enable-collab-backend-telepathy
--enable-collab-backend-tcp --enable-collab-backend-service
--enable-templates --enable-clipart --enable-plugins --with-gio
--disable-static"
hostmakedepends="automake libtool flex pkg-config"
makedepends="libjpeg-turbo-devel libpng-devel>=1.6
fribidi-devel libgsf-devel enchant-devel gtk+-devel librsvg-devel
wv-devel boost-devel libxslt-devel libwmf-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=d99089a63a6cfc1a6a4a026be9278028d47d224088d24b1853acb67e95683a15
CPPFLAGS="-I/usr/include/boost"
pre_configure() {
autoreconf -fi
}
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}"
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
}
}