arpack-ng: fix PIE and -devel deps
This commit is contained in:
parent
6edce7f317
commit
23e5053bfa
|
@ -1,30 +1,28 @@
|
|||
# Template file for 'arpack-ng'
|
||||
pkgname=arpack-ng
|
||||
version=3.4.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake libtool"
|
||||
makedepends="gcc-fortran libgfortran-devel blas-devel lapack-devel"
|
||||
hostmakedepends="automake libtool gcc-fortran"
|
||||
makedepends="lapack-devel"
|
||||
short_desc="Collection of Fortran77 subroutines"
|
||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||
nocross=yes
|
||||
nopie=yes
|
||||
license="BSD"
|
||||
license="3-clause-BSD"
|
||||
homepage="https://github.com/opencollab/arpack-ng"
|
||||
distfiles="https://github.com/opencollab/arpack-ng/archive/${version}.tar.gz"
|
||||
checksum=69e9fa08bacb2475e636da05a6c222b17c67f1ebeab3793762062248dd9d842f
|
||||
|
||||
pre_configure() {
|
||||
export FFLAGS="-fPIC"
|
||||
./bootstrap
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
vlicense COPYING LICENSE
|
||||
}
|
||||
|
||||
arpack-ng-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/*.a
|
||||
vmove usr/lib/*.so
|
||||
|
|
Loading…
Reference in New Issue