void-packages/srcpkgs/libe-book/template

37 lines
1023 B
Bash

# Template file for 'libe-book'
pkgname=libe-book
version=0.1.3
revision=11
build_style=gnu-configure
configure_args="--disable-werror"
hostmakedepends="automake libtool gperf doxygen pkg-config"
makedepends="boost-devel icu-devel libcppunit-devel libxml2-devel librevenge-devel liblangtag-devel"
short_desc="Import reflowable e-book formats"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="http://sourceforge.net/projects/libebook/"
distfiles="${SOURCEFORGE_SITE}/project/libebook/${pkgname}-${version}/${pkgname}-${version}.tar.xz"
checksum=7e8d8ff34f27831aca3bc6f9cc532c2f90d2057c778963b884ff3d1e34dfe1f9
pre_configure() {
autoreconf -fi
}
libe-book-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}
libe-book-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/share/doc
}
}