void-packages/srcpkgs/libabw/template
2018-07-21 18:26:47 +02:00

34 lines
902 B
Bash

# Template file for 'libabw'
pkgname=libabw
version=0.1.2
revision=2
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
}
}