void-packages/srcpkgs/librevenge/template
2017-08-04 19:08:59 +02:00

28 lines
839 B
Bash

# Template file for 'librevenge'
pkgname=librevenge
version=0.0.4
revision=2
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.eu>"
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"
}
}