wok-6.x annotate arpack-ng/receipt @ rev 25552
Add kegs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 08 14:00:41 2023 +0000 (19 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@17971 | 1 # SliTaz package receipt. |
pascal@17971 | 2 |
pascal@17971 | 3 PACKAGE="arpack-ng" |
Hans-G?nter@21573 | 4 VERSION="3.7.0" |
pascal@17971 | 5 CATEGORY="development" |
pascal@17971 | 6 SHORT_DESC="Fortran77 subroutines to solve large scale eigenvalue problems." |
pascal@17971 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17971 | 8 LICENSE="BSD" |
Hans-G?nter@21573 | 9 WEB_SITE="https://github.com/opencollab/arpack-ng/" |
Hans-G?nter@21573 | 10 |
pascal@17971 | 11 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
Hans-G?nter@21573 | 12 WGET_URL="${WEB_SITE}archive/$VERSION/$TARBALL" |
pascal@17971 | 13 |
Hans-G?nter@21573 | 14 DEPENDS="blas lapack libgfortran" |
Hans-G?nter@21574 | 15 BUILD_DEPENDS="autoconf automake blas gfortran lapack libtool" |
pascal@17971 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@17971 | 23 # Rules to configure and make the package. |
pascal@17971 | 24 compile_rules() |
pascal@17971 | 25 { |
Hans-G?nter@21573 | 26 ./bootstrap && |
Hans-G?nter@21573 | 27 ./configure \ |
Hans-G?nter@21573 | 28 --prefix=/usr \ |
pascal@17971 | 29 $CONFIGURE_ARGS && |
pascal@17971 | 30 make && |
pascal@17971 | 31 make DESTDIR=$DESTDIR install |
pascal@17971 | 32 } |
pascal@17971 | 33 |
pascal@17971 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17971 | 35 genpkg_rules() |
pascal@17971 | 36 { |
pascal@17971 | 37 mkdir -p $fs/usr/lib |
pascal@17971 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@17971 | 39 } |