38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Template file for 'libe-book'
|
|
pkgname=libe-book
|
|
version=0.1.2
|
|
revision=8
|
|
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"
|
|
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
|
|
|
|
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
|
|
}
|
|
}
|