aboutsummaryrefslogtreecommitdiffstats
path: root/testing/fgt
diff options
context:
space:
mode:
authorBradley J Chambers <brad.chambers@gmail.com>2017-08-29 13:59:43 -0400
committerTimo Teräs <timo.teras@iki.fi>2017-08-30 13:11:20 +0000
commitdbed6abccb2bc7376fc2d82701a0c776f721d234 (patch)
tree5b7ea58c8f581236aed9911fec1f0e714e7d9293 /testing/fgt
parentfb7f57b0a053f9e5c095e42b9e372dd94c523c06 (diff)
downloadaports-dbed6abccb2bc7376fc2d82701a0c776f721d234.tar.bz2
aports-dbed6abccb2bc7376fc2d82701a0c776f721d234.tar.xz
testing/fgt: new aport
https://github.com/gadomski/fgt C++ library for fast Gauss transforms.
Diffstat (limited to 'testing/fgt')
-rw-r--r--testing/fgt/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/fgt/APKBUILD b/testing/fgt/APKBUILD
new file mode 100644
index 0000000000..d0fe24302e
--- /dev/null
+++ b/testing/fgt/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
+# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
+pkgname=fgt
+pkgver=0.4.6
+pkgrel=0
+pkgdesc="C++ library for fast Gauss transforms."
+url="https://github.com/gadomski/fgt"
+arch="all"
+license="LGPL2+"
+makedepends="cmake eigen-dev"
+install=""
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/gadomski/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+
+ mkdir build && cd build
+ cmake .. \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DWITH_TESTS=OFF \
+ -DBUILD_SHARED_LIBS=ON \
+ -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3
+ make
+}
+
+package() {
+ cd "$builddir"/build
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="5214efb5359cf63463f304a668f348d8929da74ebf2d1d217152c7e19fa76bddef030c349e5e2a60e77031d72d0b8db61121396cbf898e3180f9ef940c014cff fgt-0.4.6.tar.gz"