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