2019-08-11 11:13:57 +02:00
|
|
|
# Description: Library for import of reflowable e-book formats.
|
2020-06-01 17:45:48 +02:00
|
|
|
# URL: https://sourceforge.net/projects/libebook/
|
2019-08-11 11:13:57 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2019-08-18 11:19:50 +02:00
|
|
|
# Depends on: liblangtag librevenge icu
|
2019-08-11 11:13:57 +02:00
|
|
|
|
|
|
|
name=libe-book
|
|
|
|
version=0.1.3
|
2022-01-13 10:42:50 +01:00
|
|
|
release=3
|
2020-11-14 14:42:36 +01:00
|
|
|
source=(https://sourceforge.net/projects/${name//-/}/files//${name}-${version}/$name-$version.tar.xz
|
|
|
|
libebook-0.1.3-icu-68.patch)
|
2019-08-11 11:13:57 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2020-11-14 14:42:36 +01:00
|
|
|
[ $(pkginfo -i | awk '/^icu / {split($2,a,"."); print a[1]}') -ge 68 ] && \
|
|
|
|
patch -p1 -i $SRC/libebook-0.1.3-icu-68.patch
|
2019-08-18 11:19:50 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--without-docs
|
2019-08-11 11:13:57 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|