wok rev 17972

Add umfpack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 17 23:54:39 2015 +0200 (2015-04-17)
parents 798cfdd09060
children 4ba8f9c4b80e
files umfpack/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/umfpack/receipt	Fri Apr 17 23:54:39 2015 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="umfpack"
     1.7 +SOURCE="SuiteSparse"
     1.8 +VERSION="4.4.4"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Multifrontal LU factorization."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="GPL2"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://faculty.cse.tamu.edu/davis/suitesparse.html"
    1.15 +WGET_URL="http://faculty.cse.tamu.edu/davis/$SOURCE/$TARBALL"
    1.16 +
    1.17 +DEPENDS="blas lapack"
    1.18 +BUILD_DEPENDS="blas lapack libgfortran"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/include
    1.24 +	sed -i "s/lopenblas/lblas/;s|/usr/local|$DESTDIR/usr|" \
    1.25 +		SuiteSparse_config/*.mk
    1.26 +	make -j 1 && make install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/usr $fs/
    1.33 +}