2019-08-11 11:14:09 +02:00
|
|
|
# Description: Library for importing WordPerfect (tm) documents
|
2023-05-28 10:31:10 +02:00
|
|
|
# URL: https://libwpd.sourceforge.net/
|
2019-08-11 11:14:09 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: librevenge
|
|
|
|
|
|
|
|
name=libwpd
|
|
|
|
version=0.10.3
|
2023-01-28 14:59:36 +01:00
|
|
|
release=2
|
2022-01-03 14:29:26 +01:00
|
|
|
source=(https://downloads.sourceforge.net/project/libwpd/libwpd/$name-$version/$name-$version.tar.xz
|
2023-01-28 14:59:36 +01:00
|
|
|
gcc11.patch
|
|
|
|
include.patch
|
|
|
|
libwpd-bundled-soname.patch.0
|
|
|
|
rpath.patch)
|
2019-08-11 11:14:09 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2022-01-03 14:29:26 +01:00
|
|
|
|
|
|
|
patch -Np1 -i $SRC/gcc11.patch
|
2023-01-28 14:59:36 +01:00
|
|
|
patch -Np0 -i $SRC/include.patch
|
|
|
|
patch -Np0 -i $SRC/libwpd-bundled-soname.patch.0
|
|
|
|
patch -Np0 -i $SRC/rpath.patch
|
2022-01-03 14:29:26 +01:00
|
|
|
|
2019-08-18 11:00:18 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--without-docs
|
2019-08-11 11:14:09 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|