summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-09 01:52:26 -0400
committerMax Rees <maxcrees@me.com>2018-08-09 01:52:26 -0400
commite1e4cd9282d2cf66c5972626bcb68937d820ccc9 (patch)
tree52a6943967aae70bb0323613c2882197dd2f9123 /user
parentf0388136a2c1d2af305fd4675f18f7e9b5df3e6b (diff)
downloadpackages-e1e4cd9282d2cf66c5972626bcb68937d820ccc9.tar.gz
packages-e1e4cd9282d2cf66c5972626bcb68937d820ccc9.tar.bz2
packages-e1e4cd9282d2cf66c5972626bcb68937d820ccc9.tar.xz
packages-e1e4cd9282d2cf66c5972626bcb68937d820ccc9.zip
user/librevenge: pull in, fix license
Diffstat (limited to 'user')
-rw-r--r--user/librevenge/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/user/librevenge/APKBUILD b/user/librevenge/APKBUILD
new file mode 100644
index 000000000..2697082af
--- /dev/null
+++ b/user/librevenge/APKBUILD
@@ -0,0 +1,43 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=librevenge
+pkgver=0.0.4
+pkgrel=1
+pkgdesc="Base library for writing document import filters"
+url="https://sourceforge.net/p/libwpd/wiki/librevenge/"
+arch="all"
+license="(MPL-2.0 OR LGPL-2.1+) AND BSD-3-Clause"
+depends=""
+depends_dev="boost-dev zlib-dev"
+makedepends="$depends_dev doxygen"
+checkdepends="cppunit-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://sourceforge.net/projects/libwpd/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --disable-dependency-tracking \
+ --enable-fast-install
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="c4c2c98bac3522c8bd487058f4db19d85ad0d99159c4de4ffde91a10ea3adb7f995ebe8ccf6afcf533d81f50fb654bf265b9cd197508f85b5b68a101ca279712 librevenge-0.0.4.tar.xz"