152.10. ebook-tools-0.2.2
EPUB reading library (libepub) and the einfo tool
0.2.2-1 · MIT · 0.1 SBU · 92.7 KiB, 9 files · 41_system, 421 of 1047 · ports/core/documents/ebook-tools
Homepage: https://sourceforge.net/projects/ebook-tools/
Depends on: cmake, libxml2, libzip, convertlit, zip.
Required by (2): kfilemetadata, okular.
Sources: ebook-tools-0.2.2.tar.gz (45.8 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install ebook-tools'
build.sh:
mkdir -p build && cd build
cmake .. \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=
make
make DESTDIR=$PKG install
Programs: einfo, lit2epub.
Libraries: libepub.so.
Directories: /usr/share/licenses/ebook-tools.