wok-next diff umfpack/receipt @ rev 20405
Follow BLFS Chapter 9 "General Libraries": up apr, apr-util, aspell, autoconf213 (for js), dbus-glib, enchant, exempi, fftw, glib, glibmm, gmime, gobject-introspection, gsl, js, libboost.
js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 07 17:39:40 2017 +0200 (2017-12-07) |
parents | c76d30df5ef0 |
children | d5aab818505e |
line diff
1.1 --- a/umfpack/receipt Sat Apr 18 16:50:04 2015 +0200 1.2 +++ b/umfpack/receipt Thu Dec 07 17:39:40 2017 +0200 1.3 @@ -1,28 +1,26 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="umfpack" 1.8 -SOURCE="SuiteSparse" 1.9 VERSION="4.4.4" 1.10 CATEGORY="development" 1.11 -SHORT_DESC="Multifrontal LU factorization." 1.12 +SHORT_DESC="Multifrontal LU factorization" 1.13 MAINTAINER="pascal.bellard@slitaz.org" 1.14 LICENSE="GPL2" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 WEB_SITE="http://faculty.cse.tamu.edu/davis/suitesparse.html" 1.17 -WGET_URL="http://faculty.cse.tamu.edu/davis/$SOURCE/$TARBALL" 1.18 1.19 -DEPENDS="blas lapack" 1.20 +TARBALL="SuiteSparse-$VERSION.tar.gz" 1.21 +WGET_URL="http://faculty.cse.tamu.edu/davis/SuiteSparse/$TARBALL" 1.22 + 1.23 BUILD_DEPENDS="blas lapack libgfortran" 1.24 +SPLIT="umfpack-dev" 1.25 1.26 -# Rules to configure and make the package. 1.27 -compile_rules() 1.28 -{ 1.29 +compile_rules() { 1.30 cat > dynlink.sh <<EOT 1.31 lib=\$1 1.32 shift 1.33 gcc -shared \$@ -lm -Wl,-soname -Wl,\$(basename \$lib) -o \$lib 1.34 EOT 1.35 - for i in */Doc/ChangeLog ; do 1.36 + for i in */Doc/ChangeLog; do 1.37 VERSION=$(sed 's/.* version //;q' $i) 1.38 sed -i 's/\(.*cd Lib.*MAKE.\)\(.*\)/\1\2\n\1 -f Makefile.d\2/' \ 1.39 ${i%%/*}/Makefile 1.40 @@ -36,8 +34,10 @@ 1.41 mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/include 1.42 sed -i "s/lopenblas/lblas/;s|/usr/local|$DESTDIR/usr|" \ 1.43 SuiteSparse_config/*.mk 1.44 + 1.45 make -j 1 && make install 1.46 - for i in */Lib/*.so.* ; do 1.47 + 1.48 + for i in */Lib/*.so.*; do 1.49 cp $i $DESTDIR/usr/lib 1.50 l=$(basename $i) 1.51 ln -s $l $DESTDIR/usr/lib/${l%.*.*} 1.52 @@ -45,9 +45,14 @@ 1.53 done 1.54 } 1.55 1.56 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.57 -genpkg_rules() 1.58 -{ 1.59 - mkdir -p $fs/usr/lib 1.60 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.61 +genpkg_rules() { 1.62 + case $PACKAGE in 1.63 + umfpack) 1.64 + copy @std 1.65 + DEPENDS="blas lapack" 1.66 + ;; 1.67 + *-dev) 1.68 + copy @dev 1.69 + ;; 1.70 + esac 1.71 }