blob: d0fe24302e37181cc586cf07368fdc747185a2ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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"
|