diff options
author | Max Rees <maxcrees@me.com> | 2018-08-10 18:09:14 -0400 |
---|---|---|
committer | Max Rees <maxcrees@me.com> | 2018-08-10 18:09:14 -0400 |
commit | e477c76da1237bc17cb7db13afbdcbcc8d8a6dd0 (patch) | |
tree | 60b78d9589edbd607ba90de54e8c0565a3076671 | |
parent | 0c035576368b66f48586ab11caac3c92ca8adb61 (diff) | |
download | packages-e477c76da1237bc17cb7db13afbdcbcc8d8a6dd0.tar.gz packages-e477c76da1237bc17cb7db13afbdcbcc8d8a6dd0.tar.bz2 packages-e477c76da1237bc17cb7db13afbdcbcc8d8a6dd0.tar.xz packages-e477c76da1237bc17cb7db13afbdcbcc8d8a6dd0.zip |
user/libixion: pull in, modernize, add tests
-rw-r--r-- | user/libixion/APKBUILD | 46 |
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" |