aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"