summaryrefslogtreecommitdiff
path: root/repo/libabw/libabw.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libabw/libabw.xibuild')
-rw-r--r--repo/libabw/libabw.xibuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/libabw/libabw.xibuild b/repo/libabw/libabw.xibuild
new file mode 100644
index 0000000..101afac
--- /dev/null
+++ b/repo/libabw/libabw.xibuild
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+NAME="libabw"
+DESC="Import filter and tools for AbiWord documents"
+
+MAKEDEPS="doxygen gperf perl librevenge libxml2 zlib"
+
+PKG_VER=0.1.3
+SOURCE="https://dev-www.libreoffice.org/src/libabw/libabw-$PKG_VER.tar.xz"
+
+build() {
+ export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED'
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+
+tools() {
+ amove usr/bin
+}
+