summaryrefslogtreecommitdiff
path: root/user/libixion/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libixion/APKBUILD')
-rw-r--r--user/libixion/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/libixion/APKBUILD b/user/libixion/APKBUILD
new file mode 100644
index 000000000..659969780
--- /dev/null
+++ b/user/libixion/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=libixion
+pkgver=0.13.0
+pkgrel=0
+pkgdesc="A general purpose formula parser & interpreter"
+url="https://gitlab.com/ixion/ixion"
+arch="all"
+license="MPL-2.0"
+depends=""
+depends_dev="mdds"
+makedepends="$depends_dev boost-dev"
+subpackages="$pkgname-dev"
+source="http://kohei.us/files/ixion/src/$pkgname-$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
+}
+
+dev() {
+ default_dev
+ cd "$builddir"
+ mkdir -p "$subpkgdir"/usr
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr
+}
+
+sha512sums="15784e947164d106e677c59ece53b3cd401d4f9433cc5331a35d3be8332ae4f20a469ca73b30b253433c86da4afde886dfb4ac23e46ed46376a7349e0276c3a0 libixion-0.13.0.tar.xz"