summaryrefslogtreecommitdiff
path: root/user/libixion
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2018-08-19 03:38:17 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2018-08-19 03:38:17 +0000
commitcb6f083b369ee59de217c0504d471124d533325d (patch)
tree28e404754d754f3a852831d2b649010f70695e01 /user/libixion
parent7ef2ed32d3d4442463f39d31380cff9432608231 (diff)
parentc5975fc819d7b79180a3627a87974da9d18685e3 (diff)
downloadpackages-cb6f083b369ee59de217c0504d471124d533325d.tar.gz
packages-cb6f083b369ee59de217c0504d471124d533325d.tar.bz2
packages-cb6f083b369ee59de217c0504d471124d533325d.tar.xz
packages-cb6f083b369ee59de217c0504d471124d533325d.zip
Merge branch 'libreoffice' into 'master'
LibreOffice and dependencies I have made a deal with Satan. See merge request !44
Diffstat (limited to 'user/libixion')
-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"