summaryrefslogtreecommitdiff
path: root/repo/libwpg
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libwpg')
-rw-r--r--repo/libwpg/libwpg.xibuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/repo/libwpg/libwpg.xibuild b/repo/libwpg/libwpg.xibuild
new file mode 100644
index 0000000..85c77b3
--- /dev/null
+++ b/repo/libwpg/libwpg.xibuild
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+NAME="libwpg"
+DESC="Import filter and tools for WordPerfect Graphics"
+
+MAKEDEPS=" doxygen librevenge libwpd"
+
+PKG_VER=0.3.3
+SOURCE="https://downloads.sourceforge.net/project/libwpg/libwpg/libwpg-$PKG_VER/libwpg-$PKG_VER.tar.bz2"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+
+tools() {
+ mkdir -p "$PKG_DEST"/usr
+ mv "$PKG_DEST"/usr/bin "$PKG_DEST"/usr
+}
+