arpack:first rel

This commit is contained in:
blue-devil
2020-05-25 02:37:47 +03:00
parent 48a47e8069
commit 365b1647c3
3 changed files with 111 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
#shelltools.export("OMPI_ALLOW_RUN_AS_ROOT", "1")
shelltools.export("PKG_CONFIG_PATH", "/usr/lib/openmpi/pkgconfig")
def setup():
autotools.autoreconf("-vif")
shelltools.export("LDFLAGS", "-L/usr/lib/openmpi")
autotools.configure("--enable-mpi --enable-icb")
# fix unused direct dependency analysis
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make("F77='mpif77' \
CFLAGS+=' `pkg-config --cflags ompi-f77` ' \
LIBS+=' `pkg-config --libs ompi-f77`' ")
# run as root failure
#def check():
# autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "README*")
+63
View File
@@ -0,0 +1,63 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>arpack</Name>
<Homepage>https://github.com/opencollab/arpack-ng</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>science.misc</PartOf>
<License>BSD</License>
<IsA>library</IsA>
<Summary>Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.</Summary>
<Description>ARPACK-NG is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.</Description>
<Archive sha1sum="cb5a6e1f3c5ab231440bbe30f4a0808d76215e93" type="targz">https://github.com/opencollab/arpack-ng/archive/3.7.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>blas-devel</Dependency>
<Dependency>libquadmath</Dependency>
<Dependency>libgfortran</Dependency>
<Dependency>lapack-devel</Dependency>
<Dependency>openmpi-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>arpack</Name>
<Summary>Collection of Fortran77 subroutines designed to solve large scale eigenvalue problems.</Summary>
<RuntimeDependencies>
<Dependency>blas</Dependency>
<Dependency>lapack</Dependency>
<Dependency>openmpi</Dependency>
<Dependency>libgfortran</Dependency>
<Dependency>libquadmath</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/arpack</Path>
</Files>
</Package>
<Package>
<Name>arpack-devel</Name>
<Summary>Development files for arpack</Summary>
<RuntimeDependencies>
<Dependency release="current">arpack</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-05-24</Date>
<Version>3.7.0</Version>
<Comment>First pisi release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>arpack</Name>
<Summary xml:lang="tr">Büyük ölçekli özdeğer problemleri çözmek için tasarlanmış Fortran77 alt programları.</Summary>
<Description xml:lang="tr">arpack, büyük ölçekli özdeğer problemleri çözmek için tasarlanmış Fortran77 alt programları sunar.</Description>
</Source>
<Package>
<Name>arpack-devel</Name>
<Summary xml:lang="tr">arpack için geliştirme dosyaları</Summary>
<Description xml:lang="tr">arpack-devel, arpack için geliştirme dosyalarını içerir.</Description>
</Package>
</PISI>