# HG changeset patch # User Pascal Bellard # Date 1429368604 -7200 # Node ID c76d30df5ef0da63e7fdc790c13a46f491b7d270 # Parent a0145b1e3f4bca633ed1a625492fa77788363f05 Add umfpack-dev diff -r a0145b1e3f4b -r c76d30df5ef0 umfpack-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/umfpack-dev/receipt Sat Apr 18 16:50:04 2015 +0200 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="umfpack-dev" +VERSION="4.4.4" +CATEGORY="development" +SHORT_DESC="Multifrontal LU factorization." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +WEB_SITE="http://faculty.cse.tamu.edu/davis/suitesparse.html" +WANTED="umfpack" + +DEPENDS="umfpack" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*a $fs/usr/lib + cp -a $install/usr/include $fs/usr +} diff -r a0145b1e3f4b -r c76d30df5ef0 umfpack/receipt --- a/umfpack/receipt Sat Apr 18 16:32:01 2015 +0300 +++ b/umfpack/receipt Sat Apr 18 16:50:04 2015 +0200 @@ -17,14 +17,37 @@ # Rules to configure and make the package. compile_rules() { + cat > dynlink.sh < $i/Makefile.d + done mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/include sed -i "s/lopenblas/lblas/;s|/usr/local|$DESTDIR/usr|" \ SuiteSparse_config/*.mk make -j 1 && make install + for i in */Lib/*.so.* ; do + cp $i $DESTDIR/usr/lib + l=$(basename $i) + ln -s $l $DESTDIR/usr/lib/${l%.*.*} + ln -s $l $DESTDIR/usr/lib/${l%so*}so + done } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs/ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib }