blob: 68557f914f20a205f10ca501c67b222f38ef0378 (
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
|
# Contributor (Arch) : Zdeněk Janeček <jan.zdenek@gmail.com>
# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
pkgname=shogun
pkgver=4.0.0
pkgrel=1
pkgdesc="Shogun - A Large Scale Machine Learning Toolbox with the python interface"
arch=('i686' 'x86_64')
url="http://www.shogun-toolbox.org"
license=('GPLv3')
depends=('cblas' 'lapack' 'swig' 'python-numpy' 'libcl')
makedepends=('cmake')
source=(http://shogun-toolbox.org/archives/shogun/releases/4.0/sources/$pkgname-$pkgver.tar.bz2)
md5sums=('57370e869f3b24f74ce9c7b8741000b0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build && cd build
DISABLE_SSE=
if [ "${CARCH}" != "x86_64" ]; then
DISABLE_SSE+="-DDISABLE_SSE=ON"
fi
cmake -DCMAKE_INSTALL_PREFIX=/usr -DPythonModular=ON ${DISABLE_SSE} ..
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}/build"
make DESTDIR="$pkgdir/" install
}
|