void-packages/srcpkgs/libabw/template

31 lines
856 B
Bash
Raw Normal View History

2014-10-15 12:21:48 +02:00
# Template file for 'libabw'
pkgname=libabw
2014-12-23 13:55:54 +01:00
version=0.1.1
2015-08-17 07:48:28 +02:00
revision=2
2014-10-15 12:21:48 +02:00
build_style=gnu-configure
short_desc="Library that parses the file format of AbiWord documents"
maintainer="Enno Boland <gottox@voidlinux.eu>"
2014-10-15 12:21:48 +02:00
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"
2014-12-23 13:55:54 +01:00
checksum=cfc698c2dd4ab592138a941ae26e2e18c3dac69bc196b5167df7f5eb88fc217e
2014-10-15 12:21:48 +02:00
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
}
}