void-packages/srcpkgs/librevenge/template
2015-06-07 22:15:15 +02:00

28 lines
880 B
Bash

# Template file for 'librevenge'
pkgname=librevenge
version=0.0.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-werror"
hostmakedepends="automake pkg-config libtool"
makedepends="boost-devel libcppunit-devel zlib-devel"
short_desc="Library for REVerses ENGineered formats filters"
maintainer="Enno Boland <eb@s01.de>"
license="MPL-2.0, LGPL-2.1"
homepage="http://sourceforge.net/p/libwpd/librevenge"
distfiles="http://sourceforge.net/projects/libwpd/files/librevenge/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
checksum=f6f280c4345546aad16aeafd5cf2e4a4ac31a81606171755465bba0d96efcf0f
pre_configure() {
autoreconf -fi
}
librevenge-devel_package() {
depends="librevenge>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}