# Tanım: Temel Lineer Cebir Altprogramları
# URL: http://www.netlib.org/blas
# Paketçi: milisarge
# Gerekler: cmake

isim=lapack
surum=3.5.0
devir=1

kaynak=(http://www.netlib.org/$isim/$isim-$surum.tgz )

derle() {
	cd $isim-$surum
	mkdir build
	cd build
	cmake .. \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_SKIP_RPATH=ON \
	-DBUILD_SHARED_LIBS=ON \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_Fortran_COMPILER=gfortran \
	-DLAPACKE=ON
	make
	make DESTDIR=$PKG install
}
