summaryrefslogtreecommitdiff
path: root/repo/libvisio/libvisio.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libvisio/libvisio.xibuild')
-rw-r--r--repo/libvisio/libvisio.xibuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/repo/libvisio/libvisio.xibuild b/repo/libvisio/libvisio.xibuild
new file mode 100644
index 0000000..28d1145
--- /dev/null
+++ b/repo/libvisio/libvisio.xibuild
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+NAME="libvisio"
+DESC="Import filter and tools for MS Visio Diagrams"
+
+MAKEDEPS="doxygen gperf perl icu librevenge libxml2"
+
+PKG_VER=0.1.7
+SOURCE="https://dev-www.libreoffice.org/src/libvisio/libvisio-$PKG_VER.tar.xz"
+
+build() {
+ # boost -1.59
+ export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED'
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}