void-packages/srcpkgs/libe-book/template
maxice8 ea9ff66f4e libe-book: update to 0.1.3.
Closes: #10335 [via git-merge-pr]
2018-01-02 10:44:31 +01:00

37 lines
1 KiB
Bash

# Template file for 'libe-book'
pkgname=libe-book
version=0.1.3
revision=1
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="Jürgen Buchmüller <pullmoll@t-online.de>"
license="LGPL-2.1 MPL"
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}"
noarch=yes
pkg_install() {
vmove usr/share/doc
}
}