wok-next annotate umfpack/receipt @ rev 17972
Add umfpack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 17 23:54:39 2015 +0200 (2015-04-17) |
parents | |
children | c76d30df5ef0 |
rev | line source |
---|---|
pascal@17972 | 1 # SliTaz package receipt. |
pascal@17972 | 2 |
pascal@17972 | 3 PACKAGE="umfpack" |
pascal@17972 | 4 SOURCE="SuiteSparse" |
pascal@17972 | 5 VERSION="4.4.4" |
pascal@17972 | 6 CATEGORY="development" |
pascal@17972 | 7 SHORT_DESC="Multifrontal LU factorization." |
pascal@17972 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17972 | 9 LICENSE="GPL2" |
pascal@17972 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17972 | 11 WEB_SITE="http://faculty.cse.tamu.edu/davis/suitesparse.html" |
pascal@17972 | 12 WGET_URL="http://faculty.cse.tamu.edu/davis/$SOURCE/$TARBALL" |
pascal@17972 | 13 |
pascal@17972 | 14 DEPENDS="blas lapack" |
pascal@17972 | 15 BUILD_DEPENDS="blas lapack libgfortran" |
pascal@17972 | 16 |
pascal@17972 | 17 # Rules to configure and make the package. |
pascal@17972 | 18 compile_rules() |
pascal@17972 | 19 { |
pascal@17972 | 20 mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/include |
pascal@17972 | 21 sed -i "s/lopenblas/lblas/;s|/usr/local|$DESTDIR/usr|" \ |
pascal@17972 | 22 SuiteSparse_config/*.mk |
pascal@17972 | 23 make -j 1 && make install |
pascal@17972 | 24 } |
pascal@17972 | 25 |
pascal@17972 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17972 | 27 genpkg_rules() |
pascal@17972 | 28 { |
pascal@17972 | 29 cp -a $install/usr $fs/ |
pascal@17972 | 30 } |