38 lines
1.0 KiB
Bash
38 lines
1.0 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
|
|
}
|
|
}
|