void-packages/srcpkgs/libabw/template

31 lines
846 B
Plaintext

# Template file for 'libabw'
pkgname=libabw
version=0.1.0
revision=3
build_style=gnu-configure
short_desc="Library that parses the file format of AbiWord documents"
maintainer="Enno Boland <eb@s01.de>"
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="libtool pkg-config perl gperf"
checksum=ee99b280b7af226a48fd9afd395cc10bef2d8e4f844151277e90793706dfc0c1
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
}
}