wok-next annotate arpack-ng/receipt @ rev 20569
Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 07:14:16 2018 +0300 (2018-04-13) |
parents | 57422350b15e |
children | a18af897de8e |
rev | line source |
---|---|
al@19901 | 1 # SliTaz package receipt v2. |
pascal@17971 | 2 |
pascal@17971 | 3 PACKAGE="arpack-ng" |
al@19901 | 4 VERSION="3.5.0" |
pascal@17971 | 5 CATEGORY="development" |
al@19901 | 6 SHORT_DESC="Fortran77 subroutines to solve large scale eigenvalue problems" |
pascal@17971 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17971 | 8 LICENSE="BSD" |
al@19901 | 9 WEB_SITE="https://github.com/opencollab/arpack-ng" |
pascal@17971 | 10 |
al@19901 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19901 | 12 WGET_URL="https://github.com/opencollab/arpack-ng/archive/$VERSION.tar.gz" |
al@19901 | 13 |
al@19901 | 14 BUILD_DEPENDS="automake libtool gfortran lapack" |
al@19901 | 15 SPLIT="arpack-ng-dev" |
pascal@17971 | 16 |
al@20569 | 17 compile_rules() { |
al@19901 | 18 ./bootstrap && |
al@20569 | 19 ./configure $CONFIGURE_ARGS && |
al@20569 | 20 fix libtool && |
al@20569 | 21 make && |
al@20569 | 22 make install |
pascal@17971 | 23 } |
pascal@17971 | 24 |
al@20569 | 25 genpkg_rules() { |
al@19901 | 26 case $PACKAGE in |
al@19901 | 27 arpack-ng) |
al@19901 | 28 copy @std |
al@19901 | 29 DEPENDS="blas gcc-lib-math lapack libgfortran" |
al@19901 | 30 ;; |
al@19901 | 31 *-dev) |
al@19901 | 32 copy @dev |
al@19901 | 33 DEPENDS="arpack-ng blas lapack" |
al@19901 | 34 ;; |
al@19901 | 35 esac |
pascal@17971 | 36 } |