2019-08-11 11:14:03 +02:00
|
|
|
# Description: Import library for some old mac text documents.
|
|
|
|
# URL: https://sourceforge.net/projects/libmwaw/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: librevenge
|
|
|
|
|
|
|
|
name=libmwaw
|
2021-12-08 19:14:47 +01:00
|
|
|
version=0.3.21
|
2023-01-28 15:46:34 +01:00
|
|
|
release=2
|
|
|
|
source=(https://sourceforge.net/projects/$name/files/$name/$name-$version/$name-$version.tar.xz
|
|
|
|
libmwaw-bundled-soname.patch.0
|
|
|
|
rpath.patch)
|
2019-08-11 11:14:03 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2023-01-28 15:46:34 +01:00
|
|
|
|
|
|
|
patch -Np0 -i $SRC/libmwaw-bundled-soname.patch.0
|
|
|
|
patch -Np0 -i $SRC/rpath.patch
|
|
|
|
|
2019-08-11 11:14:03 +02:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2023-01-28 15:46:34 +01:00
|
|
|
|
2019-08-11 11:14:03 +02:00
|
|
|
rm -fr $PKG/usr/share
|
|
|
|
}
|