void-packages/srcpkgs/libepubgen/template

30 lines
860 B
Bash

# Template file for 'libepubgen'
pkgname=libepubgen
version=0.1.1
revision=2
build_style=gnu-configure
hostmakedepends="doxygen pkg-config"
makedepends="boost-devel libxml2-devel librevenge-devel"
checkdepends="libcppunit-devel"
short_desc="EPUB generator for librevenge"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MPL-2.0"
homepage="https://sourceforge.net/projects/libepubgen/"
distfiles="${SOURCEFORGE_SITE}/../project/${pkgname}/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
checksum=03e084b994cbeffc8c3dd13303b2cb805f44d8f2c3b79f7690d7e3fc7f6215ad
post_install() {
vlicense COPYING
}
libepubgen-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision} ${makedepends}"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/share/doc
}
}