blob: fba2618954f62185a9aa11b8d0a3fa863a1f4926 (
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
35
36
37
38
39
40
41
|
# Maintainer: xgdgsc <xgdgsc at gmail dot com>
_pkgname=somoclu
pkgname=${_pkgname}-git
pkgver=208.c5ba668
pkgrel=1
pkgdesc="Massively parallel self-organizing maps: accelerate training on multicore CPUs, GPUs, and clusters"
arch=('i686' 'x86_64')
url="https://github.com/peterwittek/somoclu"
license=('GPL3')
depends=()
optdepends=(
'cuda: cuda support'
'openmpi: mpi support'
)
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
replaces=("$_pkgname")
#install="${pkgname}.install"
source=("${_pkgname}::git+https://github.com/peterwittek/somoclu.git")
sha512sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
echo $(git rev-list --count master).$(git rev-parse --short master)
}
build() {
cd "$srcdir/$_pkgname"
sed -i "s,/dev/null,/dev/null || :," autogen.sh
./autogen.sh
./configure --prefix="/usr"
make
}
package() {
cd "$srcdir/$_pkgname"
make DESTDIR="${pkgdir}" install
}
|