blob: d0e4af74a08d31bd6dda4e3fc31fb073655651a8 (
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
|
# Maintainer: Konstantin Gizdov < arch at kge dot pw >
pkgname=unuran
pkgver=1.8.1
pkgrel=1
pkgdesc='A C library for generating non-uniform pseudorandom variates.'
arch=('i686' 'x86_64')
url='http://statmath.wu.ac.at/unuran/'
license=('GPL2')
makedepends=('make')
depends=('gsl')
options=('!emptydirs')
source=("http://statmath.wu.ac.at/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('c270ae96857857dbac6450043df865e0517f52856ddbe5202fd35583b13c5193')
prepare(){
cd "${pkgname}-${pkgver}"
msg2 'Configuring...'
./configure --prefix=/usr --with-urng-gsl --enable-shared
}
build() {
cd "${pkgname}-${pkgver}"
msg2 'Compiling...'
make ${MAKEFLAGS}
}
package() {
cd "${pkgname}-${pkgver}"
msg2 'Installing...'
make DESTDIR="${pkgdir}" install
}
|