updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / cmpfit / PKGBUILD
blob535665bea2108ea957ba5cc55f121b2fc4bcf387
1 # Maintainer:  <clu>
2 pkgname=cmpfit
3 pkgver=1.2
4 pkgrel=2
5 pkgdesc="A MINPACK-1 Least Squares Fitting Library in C"
6 url="http://www.physics.wisc.edu/~craigm/idl/cmpfit.html"
7 arch=('i686' 'x86_64')
8 license=('unknown')
9 depends=()
10 makedepends=()
11 conflicts=()
12 replaces=()
13 backup=()
14 source=(http://www.physics.wisc.edu/~craigm/idl/down/$pkgname-$pkgver.tar.gz)
15 md5sums=('ea86da19015c4dd456e2a9e3655b1b4d')
17 build() {
18   cd $startdir/src/$pkgname-$pkgver
19   make
21   # Install because makefile has no install...
22   mkdir -p $pkgdir/usr/lib
23   install -Dm644 libmpfit.a $pkgdir/usr/lib
25   mkdir -p $pkgdir/usr/include
26   install -Dm644 mpfit.h $pkgdir/usr/include