void-packages/srcpkgs/ebook-tools/template

26 lines
724 B
Bash

# Template file for 'ebook-tools'
pkgname=ebook-tools
version=0.2.2
revision=2
build_style=cmake
makedepends="libxml2-devel libzip-devel"
short_desc="Tools for accessing and converting various ebook file formats"
maintainer="Diogo Leal <diogo@diogoleal.com>"
license="MIT"
homepage="http://sourceforge.net/projects/ebook-tools/"
distfiles="${SOURCEFORGE_SITE}/project/ebook-tools/ebook-tools/${version}/ebook-tools-${version}.tar.gz"
checksum=cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae
post_install() {
vlicense LICENSE
}
ebook-tools-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}