void-packages/srcpkgs/libabw/template
maxice8 b222e114d0 libabw: update to 0.1.2.
Closes: #10322 [via git-merge-pr]
2018-01-01 17:16:26 +01:00

34 lines
902 B
Bash

# Template file for 'libabw'
pkgname=libabw
version=0.1.2
revision=1
build_style=gnu-configure
short_desc="Library that parses the file format of AbiWord documents"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libabw"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
makedepends="librevenge-devel boost-devel libxml2-devel"
hostmakedepends="automake libtool pkg-config perl gperf"
checksum=0b72944d5af81dda0a5c5803ee84cbac4b81441a4d767aa57029adc6744c2485
pre_configure() {
autoreconf -fi
}
libabw-devel_package() {
depends="libabw>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
libabw-tools_package() {
short_desc+=" - tools"
pkg_install() {
vmove usr/bin
}
}