diff options
Diffstat (limited to 'repo/libstaroffice/libstaroffice.xibuild')
-rw-r--r-- | repo/libstaroffice/libstaroffice.xibuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/libstaroffice/libstaroffice.xibuild b/repo/libstaroffice/libstaroffice.xibuild new file mode 100644 index 0000000..47c0985 --- /dev/null +++ b/repo/libstaroffice/libstaroffice.xibuild @@ -0,0 +1,30 @@ +#!/bin/sh + +NAME="libstaroffice" +DESC="Import filter for StarOffice documents" + +MAKEDEPS="zlib boost librevenge doxygen" + +PKG_VER=0.0.7 +SOURCE="https://github.com/fosnola/libstaroffice/releases/download/$PKG_VER/libstaroffice-$PKG_VER.tar.xz" + +ADDITIONAL=" +fix-maybe-uninitialized.patch +" + +prepare() { + apply_patches +} + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + make DESTDIR="$PKG_DEST" install +} |