void-packages/srcpkgs/librevenge/template

29 lines
840 B
Bash

# Template file for 'librevenge'
pkgname=librevenge
version=0.0.4
revision=3
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 <gottox@voidlinux.org>"
license="MPL-2.0, LGPL-2.1"
homepage="http://sourceforge.net/p/libwpd/librevenge"
distfiles="${SOURCEFORGE_SITE}/libwpd/${pkgname}-${version}.tar.xz"
checksum=933f0729f04267cc354b9a02bc3e9afefa5512a3bdd0b45f159ee14a3e3347b2
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"
}
}