diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-17 15:30:54 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-17 15:33:30 +0200 |
commit | 170331ecc2893156d7f013edaf1f1d80d59252ba (patch) | |
tree | 97694330b5462dfbd9ec8749529b5890c4826ee6 /community/openspecfun | |
parent | bd79fb5959660a944f96013dfe704c7722e5020d (diff) | |
download | aports-170331ecc2893156d7f013edaf1f1d80d59252ba.tar.bz2 aports-170331ecc2893156d7f013edaf1f1d80d59252ba.tar.xz |
community/openspecfun: move from testing
Diffstat (limited to 'community/openspecfun')
-rw-r--r-- | community/openspecfun/APKBUILD | 37 | ||||
-rw-r--r-- | community/openspecfun/openspecfun.pc | 12 |
2 files changed, 49 insertions, 0 deletions
diff --git a/community/openspecfun/APKBUILD b/community/openspecfun/APKBUILD new file mode 100644 index 0000000000..d8e89ddcbe --- /dev/null +++ b/community/openspecfun/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Jakub Jirutka <jakub@jirutka.cz> +# Maintainer: Jakub Jirutka <jakub@jirutka.cz> +pkgname=openspecfun +pkgver=0.5.3 +pkgrel=1 +pkgdesc="A collection of special mathematical functions." +url="https://github.com/JuliaLang/openspecfun" +arch="all" +license="MIT public-domain" +depends="" +makedepends="openlibm-dev gfortran" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/JuliaLang/$pkgname/archive/v$pkgver.tar.gz + openspecfun.pc + " +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + + make USE_OPENLIBM=1 prefix=/usr || return 1 + sed "s/@VERSION@/$pkgver/" "$srcdir"/$pkgname.pc > $pkgname.pc +} + +package() { + cd "$builddir" + + make DESTDIR="$pkgdir" prefix=/usr install || return 1 + install -D $pkgname.pc "$pkgdir"/usr/lib/pkgconfig/$pkgname.pc +} + +md5sums="1cb5297bac37519b47962fb288960125 openspecfun-0.5.3.tar.gz +55c582a9a90d6e1ad239794a2e598d43 openspecfun.pc" +sha256sums="1505c7a45f9f39ffe18be36f7a985cb427873948281dbcd376a11c2cd15e41e7 openspecfun-0.5.3.tar.gz +71c6b4db8c72d66d971db5dd569b74122d5460a254c3d0331506fc03110f3860 openspecfun.pc" +sha512sums="503da7592b126cce9ecb8af5ce16c667a9b022676721063e5f551fb88c0955f465ed66df7728ed2391f068ea14b77414bfd9934c0ee38081d11b998826d6b88a openspecfun-0.5.3.tar.gz +4546252dbe5d4b563439047df1d75fadb73e00b0c6389220ae6f242f1aa0344e54f87dc9a86edca66779bcb07716bcd6a173178bff54d3aeeb48804cfda64e4d openspecfun.pc" diff --git a/community/openspecfun/openspecfun.pc b/community/openspecfun/openspecfun.pc new file mode 100644 index 0000000000..52c0afd81d --- /dev/null +++ b/community/openspecfun/openspecfun.pc @@ -0,0 +1,12 @@ +prefix=/usr +exec_prefix=${prefix} +includedir=${prefix}/include +libdir=${exec_prefix}/lib + +Name: openspecfun +Version: @VERSION@ +URL: https://github.com/JuliaLang/openspecfun +Description: A collection of special mathematical functions +Requires.private: openlibm +Cflags: -I${includedir} +Libs: -L${libdir} -lopenspecfun |