void-packages/srcpkgs/libe-book/template
2016-02-28 23:29:18 +01:00

32 lines
945 B
Bash

# Template file for 'libe-book'
pkgname=libe-book
version=0.1.2
revision=2
build_style=gnu-configure
hostmakedepends="gperf doxygen pkg-config"
makedepends="boost-devel icu-devel libcppunit-devel libxml2-devel librevenge-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=7f894b1538b71c6cd96c976069c4dadb38b623612f0e35b2f6ee8a2c46bb88ec
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
}
}