summaryrefslogtreecommitdiff
path: root/user/liborcus
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-10 18:22:42 -0400
committerMax Rees <maxcrees@me.com>2018-08-10 18:22:42 -0400
commita26a5eb17548f91158949c7c9ec937ed3f9ab4e4 (patch)
tree95c9a7b2862b4a8a905891e5828369f12e15ba13 /user/liborcus
parente477c76da1237bc17cb7db13afbdcbcc8d8a6dd0 (diff)
downloadpackages-a26a5eb17548f91158949c7c9ec937ed3f9ab4e4.tar.gz
packages-a26a5eb17548f91158949c7c9ec937ed3f9ab4e4.tar.bz2
packages-a26a5eb17548f91158949c7c9ec937ed3f9ab4e4.tar.xz
packages-a26a5eb17548f91158949c7c9ec937ed3f9ab4e4.zip
user/liborcus: pull in, fix license
Diffstat (limited to 'user/liborcus')
-rw-r--r--user/liborcus/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/liborcus/APKBUILD b/user/liborcus/APKBUILD
new file mode 100644
index 000000000..cd6494fef
--- /dev/null
+++ b/user/liborcus/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=liborcus
+pkgver=0.13.4
+pkgrel=0
+pkgdesc="Library for processing spreadsheet documents"
+url="https://gitlab.com/orcus/orcus"
+arch="all"
+license="MPL-2.0 AND MIT"
+depends_dev="boost-dev mdds libixion-dev"
+makedepends="$depends_dev zlib-dev"
+subpackages="$pkgname-dev"
+source="http://kohei.us/files/orcus/src/liborcus-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-python
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="f00b49c41eb1898c37d8d42e59f9004f46b5f849b9d60ac9c5033232d1e5065ff3de160e79f5a88983bf64f86e283b6d1d406a24e776aa6ff7b8acec324ccd4b liborcus-0.13.4.tar.xz"